postinst is in gnome-initial-setup 3.28.0-2ubuntu6.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
set -eu
# creating gnome-initial-setup user if it isn't already there
if ! getent passwd gnome-initial-setup >/dev/null; then
adduser --system --force-badname --quiet \
--home /run/gnome-initial-setup/ --no-create-home \
--shell /bin/false \
gnome-initial-setup
fi
exit 0
|