Zionetrix::Git
Repositories
Help
Report an Issue
pykota-debian-package
Code
Commits
Branches
Tags
Search
Tree:
d6c00ac
Branches
Tags
master
pykota-debian-package
preinst
Initial commit - commit r2382 from svn
Benjamin Renard
commited
d6c00ac
at 2012-03-26 17:06:26
preinst
Blame
History
Raw
#!/bin/sh -e # $Id: preinst 3222 2007-07-24 09:59:35Z jerome $ . /usr/share/debconf/confmodule if [ "$1" = "install" -o "$1" = "upgrade" ]; then if ! id -g pykota > /dev/null 2>&1 ; then addgroup --system pykota fi if ! id -u pykota > /dev/null 2>&1 ; then adduser --system --home /etc/pykota --ingroup pykota pykota chsh -s /bin/sh pykota fi if [ "$1" = "upgrade" ]; then cp -a /etc/pykota/pykota.conf /etc/pykota/pykota.conf.saved 2>/dev/null cp -a /etc/pykota/pykotadmin.conf /etc/pykota/pykotadmin.conf.saved 2>/dev/null fi fi exit 0