blob: 282062360952341aa5a7f27cd3ed6e3e04323af4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
post_install() {
useradd -r -s /bin/sh -d /var/lib/quassel quassel
mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
pre_remove() {
systemctl disable quassel.service
systemctl stop quassel.service
}
post_remove() {
userdel quassel
}
# vim: set ts=4 sw=4 noet:
|