Malformed if statement.
This commit is contained in:
@@ -248,6 +248,7 @@ helper.mkPodmanService {
|
||||
for app in ''${INSTALL_APPS_LIST[@]}; do
|
||||
if ! $OCC --no-warnings app:list | grep -iq "$app:"; then
|
||||
$OCC --no-warnings app:install "$app"
|
||||
fi
|
||||
if $OCC --no-warnings app:list --disabled | grep -iq "$app:"; then
|
||||
$OCC --no-warnings app:enable "$app"
|
||||
fi
|
||||
@@ -255,6 +256,7 @@ helper.mkPodmanService {
|
||||
for app in ''${REMOVE_APPS_LIST[@]}; do
|
||||
if $OCC --no-warnings app:list --enabled | grep -iq "$app:"; then
|
||||
$OCC --no-warnings app:disable "$app"
|
||||
fi
|
||||
if $OCC --no-warnings app:list | grep -iq "$app:"; then
|
||||
$OCC --no-warnings app:remove "$app"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user