fix postinstall centos for update

This commit is contained in:
Jan-Piet Mens
2016-02-17 16:45:12 +01:00
parent 32ecf325ee
commit 2af091e1dd

View File

@@ -8,7 +8,7 @@
set -e
case "$1" in
1)
1|2)
getent group owntracks > /dev/null || /usr/sbin/groupadd --system owntracks
getent passwd owntracks > /dev/null || adduser --system -g owntracks --no-create-home owntracks
mkdir -p /var/spool/owntracks/recorder/store/last