diff options
Diffstat (limited to 'aataaj.lua')
-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 |