diff options
-rwxr-xr-x | PolygLua.lua | 2 | ||||
-rwxr-xr-x | aataaj.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/PolygLua.lua b/PolygLua.lua index 38e300c..5305872 100755 --- a/PolygLua.lua +++ b/PolygLua.lua | |||
@@ -319,7 +319,7 @@ _.dir = __[[pwd]]:noErr():Do().lines[1] | |||
319 | 319 | ||
320 | 320 | ||
321 | if (arg[0] == './PolygLua.lua') or (arg[0] == 'PolygLua.lua') then | 321 | if (arg[0] == './PolygLua.lua') or (arg[0] == 'PolygLua.lua') then |
322 | local goAway(txt) | 322 | local function goAway(txt) |
323 | local luas = __'ls -d1 /usr/share/lua/*':noErr():Do() | 323 | local luas = __'ls -d1 /usr/share/lua/*':noErr():Do() |
324 | for i,l in ipairs(luas.lines) do | 324 | for i,l in ipairs(luas.lines) do |
325 | local lua = '/usr/local/share/lua/' .. l:sub(16) .. '/PolygLua.lua' | 325 | local lua = '/usr/local/share/lua/' .. l:sub(16) .. '/PolygLua.lua' |
@@ -81,7 +81,7 @@ NOTE - Seems both ALSA and JACK are per user. So you need to run | |||
81 | ]] | 81 | ]] |
82 | Version = '0.0 crap' | 82 | Version = '0.0 crap' |
83 | 83 | ||
84 | local goAway() | 84 | local function goAway() |
85 | __[[#!/bin/bash | 85 | __[[#!/bin/bash |
86 | echo "Uninstalling aataaj" | 86 | echo "Uninstalling aataaj" |
87 | update-rc.d aataaj.lua remove | 87 | update-rc.d aataaj.lua remove |