mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
make it save
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
0368ce7ef9
commit
a05c2bffcd
1 changed files with 4 additions and 0 deletions
|
|
@ -363,6 +363,10 @@ DATADIR_PERMISSION_CONF
|
||||||
echo "Enabling $app..."
|
echo "Enabling $app..."
|
||||||
if ! php /var/www/html/occ app:enable "$app" >/dev/null; then
|
if ! php /var/www/html/occ app:enable "$app" >/dev/null; then
|
||||||
php /var/www/html/occ app:disable "$app" >/dev/null
|
php /var/www/html/occ app:disable "$app" >/dev/null
|
||||||
|
if ! php /var/www/html/occ -V &>/dev/null; then
|
||||||
|
rm -r "/var/www/html/custom_apps/$app"
|
||||||
|
php /var/www/html/occ maintenance:mode --off
|
||||||
|
fi
|
||||||
echo "The $app app could not get enabled. Probably because it is not compatible with the new Nextcloud version."
|
echo "The $app app could not get enabled. Probably because it is not compatible with the new Nextcloud version."
|
||||||
if [ "$app" = apporder ]; then
|
if [ "$app" = apporder ]; then
|
||||||
CUSTOM_HINT="The apporder app was deprecated. A possible replacement is the side_menu app, aka 'Custom menu'."
|
CUSTOM_HINT="The apporder app was deprecated. A possible replacement is the side_menu app, aka 'Custom menu'."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue