Merge pull request #184 from Tokugero/master

Making code server removal non-interactive
This commit is contained in:
aptalca 2021-02-22 08:00:00 -05:00 committed by GitHub
commit a5008c1640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,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