-
#! /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
#DEBHELPER#
exit 0 see https://sources.debian.org/src/cups/2.3.3op2-7/debian/cups-client.postinst/ thx |
Beta Was this translation helpful? Give feedback.
Answered by
suntong
Dec 9, 2021
Replies: 1 comment 1 reply
-
Yes, as long as I provide the postinstall script like that. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
suntong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, as long as I provide the postinstall script like that.