aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xaataaj.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/aataaj.lua b/aataaj.lua
index 6038fa6..3c1a89b 100755
--- a/aataaj.lua
+++ b/aataaj.lua
@@ -190,6 +190,11 @@ APT.exe = function(c)
190 return exe 190 return exe
191end 191end
192 192
193APT.exists = function(c)
194 if 0 == APT.exe('which ' .. c):Do().status then return true end
195 return false
196end
197
193APT.killEmAll = function(all) 198APT.killEmAll = function(all)
194 for i,l in ipairs(all) do 199 for i,l in ipairs(all) do
195 local c = 0 200 local c = 0