File: postinst

package info (click to toggle)
gnome-initial-setup 48.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,244 kB
  • sloc: ansic: 12,393; xml: 194; sh: 47; makefile: 28
file content (15 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (6)
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

#DEBHELPER#

exit 0