desktop/quassel/quassel.install

15 lines
329 B
Plaintext
Raw Normal View History

2010-05-31 00:30:09 +08:00
post_install() {
useradd -r -s /bin/sh -d /var/lib/quassel quassel
2010-05-31 00:30:09 +08:00
mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
pre_remove() {
systemctl stop quassel.service
systemctl disable quassel.service
2010-05-31 00:30:09 +08:00
}
post_remove() {
userdel quassel
}