From 5a77284a848ce76dd9297dcf7604381341aceeb8 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Mon, 4 Nov 2024 15:40:01 +1000 Subject: Oops-- --- PolygLua.lua | 2 +- 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] if (arg[0] == './PolygLua.lua') or (arg[0] == 'PolygLua.lua') then - local goAway(txt) + local function goAway(txt) local luas = __'ls -d1 /usr/share/lua/*':noErr():Do() for i,l in ipairs(luas.lines) do local lua = '/usr/local/share/lua/' .. l:sub(16) .. '/PolygLua.lua' diff --git a/aataaj.lua b/aataaj.lua index 03198e7..4acee75 100755 --- a/aataaj.lua +++ b/aataaj.lua @@ -81,7 +81,7 @@ NOTE - Seems both ALSA and JACK are per user. So you need to run ]] Version = '0.0 crap' -local goAway() +local function goAway() __[[#!/bin/bash echo "Uninstalling aataaj" update-rc.d aataaj.lua remove -- cgit v1.1