From acb295338db52028f6d69045fb084762645a2f7c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 20 Jan 2022 22:06:41 +0100 Subject: [PATCH] https://github.com/alexbelgium/hassio-addons/issues/176 --- nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh 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