Skip to content
Snippets Groups Projects
Commit 8c1c3797 authored by Bob Mottram's avatar Bob Mottram
Browse files

Invert logic

parent 362f9394
No related branches found
No related tags found
No related merge requests found
......@@ -865,7 +865,7 @@ function install_apps_from_webadmin {
fi
# remove app from the removed file
if ! grep -Fxq "_${app_name}_" "$REMOVED_APPS_FILE"; then
if grep -Fxq "_${app_name}_" "$REMOVED_APPS_FILE"; then
sed -i "/_${app_name}_/d" "$REMOVED_APPS_FILE"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment