X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=debian%2Fmetaproxy.postinst;h=d1897b1db1d4a0879127836c90308e4646e4e323;hb=f7e9a24fefaa0fc07d82d4462eeb38af0f25460e;hp=45bbfacb099fbdf566a56f4df5215ef072c7bab0;hpb=45100f4c43b1d7c10aee311c0ce5ab754c76e8b0;p=metaproxy-moved-to-github.git diff --git a/debian/metaproxy.postinst b/debian/metaproxy.postinst index 45bbfac..d1897b1 100644 --- a/debian/metaproxy.postinst +++ b/debian/metaproxy.postinst @@ -4,12 +4,7 @@ set -e case "$1" in configure) - [ -f /etc/default/metaproxy ] && . /etc/default/metaproxy - - [ -z "$SERVER_HOME" ] && SERVER_HOME=/var/metaproxy - [ -z "$SERVER_USER" ] && SERVER_USER=metaproxy - [ -z "$SERVER_NAME" ] && SERVER_NAME="Metaproxy user" - [ -z "$SERVER_GROUP" ] && SERVER_GROUP=metaproxy + . /etc/metaproxy/metaproxy.user # 1. create group if not existing if ! getent group | grep -q "^$SERVER_GROUP:" ; then