diff options
author | dvs1 | 2024-11-04 15:40:01 +1000 |
---|---|---|
committer | dvs1 | 2024-11-04 15:40:01 +1000 |
commit | 5a77284a848ce76dd9297dcf7604381341aceeb8 (patch) | |
tree | dc891a9362b192835745be993d72c06c20e88a7e | |
parent | Refactor aataaj.lua uninstall / purge as well. (diff) | |
download | JackOnAllDevices-5a77284a848ce76dd9297dcf7604381341aceeb8.zip JackOnAllDevices-5a77284a848ce76dd9297dcf7604381341aceeb8.tar.gz JackOnAllDevices-5a77284a848ce76dd9297dcf7604381341aceeb8.tar.bz2 JackOnAllDevices-5a77284a848ce76dd9297dcf7604381341aceeb8.tar.xz |
Oops--
-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 |