aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvs12024-11-04 13:48:07 +1000
committerdvs12024-11-04 13:48:07 +1000
commit1dcb61eda6a54cd016b4b403c2da5a4e3911337e (patch)
treecc8234df71199b872d05eeb80ff590a50c496cc2
parentAdd uninstall and purge subcommands for PolygLua and aataaj. (diff)
downloadJackOnAllDevices-1dcb61eda6a54cd016b4b403c2da5a4e3911337e.zip
JackOnAllDevices-1dcb61eda6a54cd016b4b403c2da5a4e3911337e.tar.gz
JackOnAllDevices-1dcb61eda6a54cd016b4b403c2da5a4e3911337e.tar.bz2
JackOnAllDevices-1dcb61eda6a54cd016b4b403c2da5a4e3911337e.tar.xz
Copy paste error, actually name it purging.
Diffstat (limited to '')
-rwxr-xr-xaataaj.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/aataaj.lua b/aataaj.lua
index 2a1f7e3..403593d 100755
--- a/aataaj.lua
+++ b/aataaj.lua
@@ -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