mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-02-19 23:03:50 +08:00
Updating to remove interaction and dump error to null
This commit is contained in:
parent
71b9740252
commit
f6fefcc0b8
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
set -x
|
||||
|
||||
## Set alias for occ and make executable
|
||||
[[ ! -f /usr/bin/occ ]] && \
|
||||
@ -14,7 +15,7 @@
|
||||
[[ ! -x /usr/bin/updater.phar ]] && \
|
||||
chmod +x /usr/bin/updater.phar
|
||||
|
||||
if occ app:list | grep -q richdocumentscode; then
|
||||
echo "Removing CODE Server"
|
||||
occ app:remove richdocumentscode
|
||||
if ( occ app:list --no-interaction | grep -q richdocumentscode) 2>/dev/null; then
|
||||
echo "Removing CODE Server"
|
||||
occ app:remove --no-interaction richdocumentscode 2>/dev/null
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user