mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-02-19 23:03:50 +08:00
Merge pull request #294 from linuxserver/fix-richdocs
Get specific app name when removing richdocumentscode
This commit is contained in:
commit
dea003a225
@ -27,5 +27,6 @@ lsiown abc:abc \
|
||||
|
||||
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
|
||||
APP=$(occ app:list --no-interaction | grep richdocumentscode | awk -F ' ' '{print $2}' | tr -d ':')
|
||||
occ app:remove --no-interaction "${APP}" 2>/dev/null
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user