minor fix: wrong owner user being set on server installer

This commit is contained in:
alejandro.campos@artica.es 2022-05-24 11:58:40 +02:00
parent aae68408a1
commit 91327a22da
1 changed files with 3 additions and 1 deletions

View File

@ -333,7 +333,9 @@ install () {
fi
# when fakeroot installation, this can fail
chown -R pandora:$GROUPNAME $DESTDIR$PANDORA_SPOOL 2>/dev/null
chown apache:$GROUPNAME $DESTDIR$PANDORA_SPOOL/data_in/customer_key 2>/dev/null
echo "Creating setup directory in $PANDORA_CFG_DIR"
mkdir -p $DESTDIR$PANDORA_CFG_DIR 2> /dev/null
if [ -f "$DESTDIR$PANDORA_CFG_FILE" ]