~mdw
/
userv-utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump Standards-Version to 3.7.0.0.
[userv-utils]
/
debian
/
userv-git-daemon.postinst
diff --git
a/debian/userv-git-daemon.postinst
b/debian/userv-git-daemon.postinst
index
be6c934
..
5ccaa88
100755
(executable)
--- a/
debian/userv-git-daemon.postinst
+++ b/
debian/userv-git-daemon.postinst
@@
-22,14
+22,14
@@
set -e
# You should have received a copy of the GNU General Public License
# along with userv-utils; if not, see http://www.gnu.org/licenses/.
# You should have received a copy of the GNU General Public License
# along with userv-utils; if not, see http://www.gnu.org/licenses/.
-GITDUSER=git
+GITDUSER=
userv-
git
defaults=/etc/default/userv-git-daemon
if test -f $defaults; then . $defaults; fi
defaults=/etc/default/userv-git-daemon
if test -f $defaults; then . $defaults; fi
-if [ "$GITDUSER" ]; then
- if id $GITDUSER >/dev/null 2>&1; then exit 0; fi
+#DEBHELPER#
- adduser --system --group --gecos 'userv git daemon' \
- --home /etc/userv $GITDUSER
+if [ "$GITDUSER" ]; then
+ adduser --system --quiet --group --gecos 'userv git daemon' \
+ --home /etc/userv --no-create-home --shell /bin/false $GITDUSER
fi
fi