35 lines
1.4 KiB
Bash
35 lines
1.4 KiB
Bash
|
ln -s "$IMAGE_NAME_RISOTTO_IMAGE_DIR/srv/nextcloud/data" "/var/lib/risotto/images/nextcloud//usr/share/nextcloud/data"
|
||
|
mkdir -p "$IMAGE_NAME_RISOTTO_IMAGE_DIR/usr/local/share/nextcloud/apps"
|
||
|
cd "$IMAGE_NAME_RISOTTO_IMAGE_DIR/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')
|
||
|
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')
|
||
|
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')
|
||
|
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 -
|