summarylogtreecommitdiffstats
path: root/sskype.install
blob: 183d8133c5a7c40a3253afaa98338d434414b10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  useradd -U -G audio,video -k /etc/default/sskype -m -s /sbin/nologin _skype
  echo "Special setup required for Pulse Audio:"
  echo "add 'load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1'"
  echo "to ~/.config/pulse/default.pa"
  echo ""
  echo "For security reasons, only users in the group wheel does not need to enter a password,"
  echo "please see https://wiki.archlinux.org/index.php/Users_and_groups#Group_list"

}

post_remove() {
  killall -u _skype
  sleep 3
  userdel -r _skype
}