Merge pull request #29 from OCSInventory-NG/no-remove-dev

No tmp files removal
This commit is contained in:
Charlène Auger 2020-03-05 16:01:09 +01:00 committed by GitHub
commit f924b69d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,9 +79,6 @@ chown -R $APACHE_RUN_USER: $OCS_VARLIB_DIR
chown -R $APACHE_RUN_USER: $OCS_LOG_DIR
chown -R $APACHE_RUN_USER: $OCS_WEBCONSOLE_DIR
# Remove temp files
rm -rf /tmp/*
# Apache start
if [ ! -d "$APACHE_RUN_DIR" ]; then
mkdir "$APACHE_RUN_DIR"