diff options
-rwxr-xr-x | aataaj.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -190,6 +190,11 @@ APT.exe = function(c) | |||
190 | return exe | 190 | return exe |
191 | end | 191 | end |
192 | 192 | ||
193 | APT.exists = function(c) | ||
194 | if 0 == APT.exe('which ' .. c):Do().status then return true end | ||
195 | return false | ||
196 | end | ||
197 | |||
193 | APT.killEmAll = function(all) | 198 | APT.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 |