CALENDAR="3.5.2" ln -s "/srv/nextcloud/data" "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/usr/share/nextcloud/data" mkdir -p "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/usr/local/share/nextcloud/apps" cd "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/usr/local/share/nextcloud/apps" #user_saml=$(wget https://api.github.com/repos/nextcloud/user_saml/releases/latest -q -O - | jq -r '.assets[0].browser_download_url') app=$(wget https://api.github.com/repos/pulsejet/nextcloud-oidc-login/releases/latest -q -O - | jq -r '.assets[0].browser_download_url') wget -q $app tar xf *tar.gz rm -f *tar.gz chown -R root: oidc_login # #app=$(wget https://api.github.com/repos/nextcloud-releases/calendar/releases/latest -q -O - | jq -r '.assets[0].browser_download_url') app="https://github.com/nextcloud-releases/calendar/releases/download/v${CALENDAR}/calendar-v${CALENDAR}.tar.gz" wget -q $app -O app.tar.gz tar xf app.tar.gz rm -f app.tar.gz chown -R root: calendar # #app=$(wget https://api.github.com/repos/nextcloud-releases/contacts/releases/latest -q -O - | jq -r '.assets[0].browser_download_url') app=https://github.com/nextcloud-releases/contacts/releases/download/v4.2.2/contacts-v4.2.2.tar.gz wget -q $app -O app.tar.gz tar xf app.tar.gz rm -f app.tar.gz chown -R root: contacts # #app=$(wget https://api.github.com/repos/nextcloud/notes/releases/latest -q -O - | jq -r '.assets[0].browser_download_url') app=https://github.com/nextcloud/notes/releases/download/v4.5.1/notes.tar.gz wget -q $app -O app.tar.gz tar xf app.tar.gz rm -f app.tar.gz chown -R root: notes # app=$(wget https://api.github.com/repos/nextcloud/tasks/releases/latest -q -O - | jq -r '.assets[0].browser_download_url') wget -q $app -O app.tar.gz tar xf app.tar.gz rm -f app.tar.gz chown -R root: tasks cd -