diff options
author | dvs1 | 2024-11-04 13:48:07 +1000 |
---|---|---|
committer | dvs1 | 2024-11-04 13:48:07 +1000 |
commit | 1dcb61eda6a54cd016b4b403c2da5a4e3911337e (patch) | |
tree | cc8234df71199b872d05eeb80ff590a50c496cc2 | |
parent | Add uninstall and purge subcommands for PolygLua and aataaj. (diff) | |
download | JackOnAllDevices-1dcb61eda6a54cd016b4b403c2da5a4e3911337e.zip JackOnAllDevices-1dcb61eda6a54cd016b4b403c2da5a4e3911337e.tar.gz JackOnAllDevices-1dcb61eda6a54cd016b4b403c2da5a4e3911337e.tar.bz2 JackOnAllDevices-1dcb61eda6a54cd016b4b403c2da5a4e3911337e.tar.xz |
Copy paste error, actually name it purging.
-rwxr-xr-x | aataaj.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -159,16 +159,16 @@ local options = | |||
159 | os.exit(0) | 159 | os.exit(0) |
160 | end | 160 | end |
161 | }, | 161 | }, |
162 | uninstall = | 162 | purge = |
163 | { | 163 | { |
164 | help = 'Command to purge aataaj.lua', | 164 | help = 'Command to purge aataaj.lua', |
165 | func = function(self, options, a, args, i) | 165 | func = function(self, options, a, args, i) |
166 | if 'root' ~= _.who then | 166 | if 'root' ~= _.who then |
167 | E'Need to be root user to purge.' | 167 | E'Need to be root user to purge.' |
168 | else | 168 | else |
169 | print('UNINSTALLING!!!') | 169 | print('PURGING!!!') |
170 | __[[#!/bin/bash | 170 | __[[#!/bin/bash |
171 | echo "Uninstalling aataaj" | 171 | echo "Purging aataaj" |
172 | update-rc.d aataaj.lua remove | 172 | update-rc.d aataaj.lua remove |
173 | rm /etc/init.d/aataaj.lua | 173 | rm /etc/init.d/aataaj.lua |
174 | rm /usr/local/bin/aataaj.lua | 174 | rm /usr/local/bin/aataaj.lua |