File: postinst-minsysusers

package info (click to toggle)
dh-sysuser 1.6.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 124 kB
  • sloc: perl: 437; sh: 42; makefile: 5
file content (7 lines) | stat: -rw-r--r-- 380 bytes parent folder | download
1
2
3
4
5
6
7
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
   if [ -x /usr/bin/systemd-sysusers ] && [ ! -e /etc/minsysusers.force ]; then
      systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} #CONFILE_SYSUSERS#
   else
      /usr/sbin/minsysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} #CONFILE_SYSUSERS#
   fi
fi