summaryrefslogtreecommitdiffabout
path: root/debian/iii.postinst
authorMichael Krelin <hacker@klever.net>2011-03-19 17:25:00 (UTC)
committer Michael Krelin <hacker@klever.net>2011-03-19 17:52:04 (UTC)
commit5ca0d6a85c438ea75dc2795aca5176e3b31e89f0 (patch) (unidiff)
treef35c09c1d07c2150d4d0a58a517b878a44591cc8 /debian/iii.postinst
parentc295320edf2d733a12a622c5a721c8431800a68a (diff)
downloadiii-5ca0d6a85c438ea75dc2795aca5176e3b31e89f0.zip
iii-5ca0d6a85c438ea75dc2795aca5176e3b31e89f0.tar.gz
iii-5ca0d6a85c438ea75dc2795aca5176e3b31e89f0.tar.bz2
linting debian stuff
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'debian/iii.postinst') (more/less context) (ignore whitespace changes)
-rwxr-xr-xdebian/iii.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/iii.postinst b/debian/iii.postinst
index 20463a1..f52bf84 100755
--- a/debian/iii.postinst
+++ b/debian/iii.postinst
@@ -1,16 +1,16 @@
1#!/bin/sh 1#!/bin/sh
2set -e 2set -e
3UG=eyefi 3UG=eyefi
4P=eyekindo 4P=iii
5H=/var/lib/$P 5H=/var/lib/$P
6 6
7if [ "$1" = configure ] ; then 7if [ "$1" = configure ] ; then
8 getent group $UG >/dev/null 2>&1 || addgroup --system $UG 8 getent group $UG >/dev/null 2>&1 || addgroup --system $UG
9 getent passwd $UG >/dev/null 2>&1 || adduser --system --home $H \ 9 getent passwd $UG >/dev/null 2>&1 || adduser --system --home $H \
10 --no-create-home --disabled-password --ingroup $UG $UG 10 --no-create-home --disabled-password --ingroup $UG $UG
11 if ! test -d $H ; then 11 if ! test -d $H ; then
12 mkdir -p $H 12 mkdir -p $H
13 chown $UG:$UG $H 13 chown $UG:$UG $H
14 chmod 2770 $H 14 chmod 2770 $H
15 fi 15 fi
16fi 16fi