summaryrefslogtreecommitdiff
path: root/libre/xmms2/install.sh
blob: 7ee2bf2c23e9b7efe297280aca7c4cafab07ecf7 (plain)
1
2
3
4
5
6
7
8
9
10
post_install() {
    getent group xmms2 > /dev/null || groupadd -r xmms2
    getent passwd xmms2 > /dev/null || useradd -r -g xmms2 -d /var/lib/xmms2 -s /bin/false -G audio xmms2
    chown -R xmms2:xmms2 var/lib/xmms2
    true
}

post_upgrade() {
  post_install
}