Merge pull request #294 from linuxserver/fix-richdocs

Get specific app name when removing richdocumentscode
This commit is contained in:
Eric Nemchik 2023-03-08 08:24:56 -06:00 committed by GitHub
commit dea003a225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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