Skip to content
Snippets Groups Projects
Verified Commit 7daa8466 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Dokuwiki] Remove old files when updating

parent 8984d38b
No related branches found
No related tags found
No related merge requests found
Pipeline #54471 failed
......@@ -9,6 +9,10 @@ set -m
echo "Copy static Dokuwiki files on top of existing pages..."
cp -afP /var/www/{update/*,html/}
echo "Remove old files..."
grep -Ev '^($|#)' /var/www/html/data/deleted.files | xargs -n 1 rm -vf
echo "Launching Dokuwiki..."
php-fpm7.3 &
nginx &
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment