Skip to content

Commit

Permalink
improve check for installed apps
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Oct 18, 2020
1 parent 24bd686 commit 1d92bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ fi

#example: is_app_installed documentserver_community
is_app_installed() {
if [ -d "$NC_APPS_PATH/$1" ]
if nextcloud_occ app:list | grep -wq "$1"
then
return 0
else
Expand Down

0 comments on commit 1d92bb6

Please sign in to comment.