You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
-
- APPS="bookmarks calendar contacts gpxedit gpxmotion gpxpod mail passwords phonetrack tasks"
-
- # ##### Re-enabling apps ###### #
- echo ""
- echo "Re-enabling apps"
-
- container=$(docker ps | grep nextcloud | cut -f1 -d" ")
- #echo Container=$container
- if [ -z $container ]; then
- echo "Qué me estás container?!";
- exit 1;
- fi
-
- for i in ${APPS}; do
- echo $i;
- docker exec ${container} sh -c 'sudo -u www-data php /var/www/nextcloud/occ app:install '$i;
- done;
-
- # upgrade
- docker exec ${container} sh -c 'sudo -u www-data php /var/www/nextcloud/occ upgrade'
|