Skip to content

Commit

Permalink
Don't try and copy plugins on a restart
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Feb 1, 2024
1 parent b418f24 commit 22a1609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/s6-overlay/s6-rc.d/init-dokuwiki-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ done

# Update built-in plugins
for i in /app/www/public/lib/plugins/*/; do
if [[ -d "/config/dokuwiki/lib/plugins/$(basename "${i}")" ]] && [[ -d "/app/www/public/lib/plugins/$(basename "${i}")" ]]; then
if [[ -d "/config/dokuwiki/lib/plugins/$(basename "${i}")" ]] && [[ -d "/app/www/public/lib/plugins/$(basename "${i}")" ]] && [[ ! -L "/app/www/public/lib/plugins" ]]; then
cp -R /app/www/public/lib/plugins/"$(basename "${i}")"/* /config/dokuwiki/lib/plugins/"$(basename "${i}")"
fi
done
Expand Down

0 comments on commit 22a1609

Please sign in to comment.