ubuntu-22.04.3-desktop-amd64/casper/filesystem/var/lib/dpkg/info/cups-client.postinst

27 lines
322 B
Bash
Executable File

#! /bin/sh
set -e
case "$1" in
configure)
if [ -z "`getent group lpadmin`" ]; then
addgroup --system lpadmin
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
exit 0