blob: d3af4659fefc5b86b81bee598d0772f71794c8d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
}
|