Skip to content

Commit

Permalink
fixed: only first service is uninstalled
Browse files Browse the repository at this point in the history
  • Loading branch information
kwindrem committed Apr 13, 2024
1 parent a4680fd commit 81a1bbf
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions HelperResources/CommonResources
Original file line number Diff line number Diff line change
Expand Up @@ -922,10 +922,11 @@ installAllServices ()
local service
# get list of services in the package's service directory
if [ -d "$servicesDir" ]; then
servicesList=$( cd "$servicesDir"; ls -d * 2> /dev/null )
servicesList=( $( cd "$servicesDir"; ls -d * 2> /dev/null ) )
if [ ! -z "$servicesList" ]; then
logMessage "installing services"
for service in $servicesList ; do
for service in ${servicesList[@]} ; do
if $installFailed; then break; fi
installService $service
done
fi
Expand Down Expand Up @@ -957,7 +958,7 @@ uninstallAllServices ()
# uninstall services
if [ ! -z "$servicesList" ]; then
logMessage "uninstalling services"
for service in $servicesList ; do
for service in ${servicesList[@]} ; do
if [ -z "$service" ]; then
removeService $packageName
else
Expand Down
2 changes: 1 addition & 1 deletion HelperResources/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v7.17
v7.18
2 changes: 1 addition & 1 deletion blindInstall/SetupHelperVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v7.17
v7.18
3 changes: 3 additions & 0 deletions changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v7.18:
fixed: only first service is uninstalled

v7.17:
fixed: services not always uninstalled

Expand Down
Binary file modified venus-data-UninstallPackages.tgz
Binary file not shown.
Binary file modified venus-data.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v7.17
v7.18

0 comments on commit 81a1bbf

Please sign in to comment.