Merge branch 'ent-9020-Mensaje-de-error-al-aplicar-licencia' into 'develop'

minor fix: wrong owner user being set on server installer

See merge request artica/pandorafms!4906
This commit is contained in:
Daniel Rodriguez 2022-05-24 10:17:32 +00:00
commit e171a2fd08
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" ]