kwindrem / SetupHelper

Helper functions to simplify writing setup scripts that modify VenusOs functionality. The package includes automatic reinstallation of the package after a VenusOs update.
153 stars 18 forks source link

Problem removing services when uninstalling #85

Closed drtinaz closed 1 month ago

drtinaz commented 1 month ago

I have a package with 2 services in the 'services' folder. Package installs fine. When uninstalling gets to 'removing services' portion the first service is removed but the following errors are popped

ServiceResources: line 119: [: ==: unary operator expected

ServiceResources: line 121: [: ==: unary operator expected

and the second service then has to be manually removed.

Venus v3.30 on a cerbo gx Setuphelper v7.16

kwindrem commented 1 month ago

The problem is with a long name. Fixing the issue now. v7.17 out now

drtinaz commented 1 month ago

That fixed the errors, but only one service is being uninstalled. There are two services in my package, both are correctly installed, but only one gets uninstalled.

kwindrem commented 1 month ago

You are correct, and I just fixed it. V7.18 is out now.