Aether/installscript

12 lines
303 B
Plaintext

pre_install() {
if ! id aether &>/dev/null; then
groupadd aether &>/dev/null
useradd -g aether -d /srv/aether -s /bin/false aether &> /dev/null
chown -R aether:aether /srv/aether &> /dev/null
fi
}
pre_remove() {
getent passwd aether &>/dev/null && userdel aether &> /dev/null
}