File: bld.postinst

package info (click to toggle)
bld 0.3.4.1-4
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 576 kB
  • ctags: 268
  • sloc: ansic: 2,333; sh: 175; makefile: 157; perl: 135; python: 36
file content (16 lines) | stat: -rw-r--r-- 285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# Inspired by openssh-3.8.1p1/debian/postinst
# Cyril Bouthors <cyril@bouthors.org>
# Thu Dec 30 18:17:23 EAT 2004

set -e 

user=bld

if ! getent passwd $user >/dev/null
then
    adduser --quiet --system --no-create-home --home /var/run/$user --group $user
fi

#DEBHELPER#