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