pkg://wipl-daemon_20020601-11.1_amd64.deb:53134/preinst
info downloads
#! /bin/sh
# preinst script for wipl-daemon
#
# see: dh_installdeb(1)
set -e
case "$1" in
install|upgrade)
# Add users and group
if ! grep -q ^wipld: /etc/group; then
addgroup wipld >/dev/null
fi
if ! grep -q ^wipld: /etc/passwd; then
adduser --system --ingroup wipld wipld >/dev/null
fi
usermod -c "Wipld Daemon" wipld
usermod -s "/bin/false" wipld
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
exit 0