summaryrefslogtreecommitdiff
path: root/debian/rapid-tunneling.postinst
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-06-14 12:52:11 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-06-14 12:52:11 +0000
commit01815348667fc8a7f74ca25c986f47d7bea6f88f (patch)
treeba67c5230763306d6523f76b176ab192a56511c8 /debian/rapid-tunneling.postinst
parent4ca8449661e2a3f8b9067e5057120252e75edc66 (diff)
rapid-tunneling: debian: create users in the -gui
Create and remove the special "user" with UID 0 in the GUI package. That ugliness only belongs there. git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@9428 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'debian/rapid-tunneling.postinst')
-rw-r--r--debian/rapid-tunneling.postinst45
1 files changed, 0 insertions, 45 deletions
diff --git a/debian/rapid-tunneling.postinst b/debian/rapid-tunneling.postinst
deleted file mode 100644
index bebf14f..0000000
--- a/debian/rapid-tunneling.postinst
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-# postinst script for rapid-tunneling
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <postinst> `abort-remove'
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- configure)
- # add a user with uid=gid=0
- if ! getent passwd rapid-tunneling >/dev/null ; then
- useradd -d /var/lib/rapid-tunneling/home -m -u 0 -g 0 -o rapid-tunneling
- fi
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-