diff --git a/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh b/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh index b902a9bbc..bd6662ea4 100644 --- a/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh +++ b/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh @@ -1,10 +1,10 @@ #!/bin/bash if [ -d /data/config/www/nextcloud/apps/pdfannotate ]; then - CURRENT=$PWD + CURRENT="$PWD" cd /data/config/www/nextcloud/apps git clone https://gitlab.com/nextcloud-other/nextcloud-annotate pdfannotate - cd $PWD + cd "$CURRENT" apk add --no-cache ghostscript >/dev/null echo "Nextcloud annotate app added to Nextcloud app store" fi