aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvs12024-11-04 15:55:32 +1000
committerdvs12024-11-04 15:55:32 +1000
commit40fa46891660ca4a44265a6d9e954d7e32c959e2 (patch)
tree9dad9834be3624f24038e5ddc0de6f42586c6688
parentPass name to option funcs, and use it in help command. (diff)
downloadJackOnAllDevices-40fa46891660ca4a44265a6d9e954d7e32c959e2.zip
JackOnAllDevices-40fa46891660ca4a44265a6d9e954d7e32c959e2.tar.gz
JackOnAllDevices-40fa46891660ca4a44265a6d9e954d7e32c959e2.tar.bz2
JackOnAllDevices-40fa46891660ca4a44265a6d9e954d7e32c959e2.tar.xz
Install / uninstall aataaj docs.
-rwxr-xr-xaataaj.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/aataaj.lua b/aataaj.lua
index d24ac35..371adbb 100755
--- a/aataaj.lua
+++ b/aataaj.lua
@@ -23,6 +23,7 @@ local function goAway()
23 update-rc.d aataaj.lua remove 23 update-rc.d aataaj.lua remove
24 rm /etc/init.d/aataaj.lua 24 rm /etc/init.d/aataaj.lua
25 rm /usr/local/bin/aataaj.lua 25 rm /usr/local/bin/aataaj.lua
26 rm -fr /usr/local/share/doc/aataaj
26 ./PolygLua.lua -vvvv uninstall 27 ./PolygLua.lua -vvvv uninstall
27 ]]:log():show():Do() 28 ]]:log():show():Do()
28end 29end
@@ -81,6 +82,8 @@ local options =
81 ln -s `pwd`/aataaj.lua /usr/local/bin/aataaj.lua 82 ln -s `pwd`/aataaj.lua /usr/local/bin/aataaj.lua
82 ln -s /usr/local/bin/aataaj.lua /etc/init.d/aataaj.lua 83 ln -s /usr/local/bin/aataaj.lua /etc/init.d/aataaj.lua
83 update-rc.d aataaj.lua defaults 84 update-rc.d aataaj.lua defaults
85 mkdir -p /usr/local/share/doc/aataaj
86 ln -s `pwd`/*.md /usr/local/share/doc/aataaj/
84 ]]:log():show():Do() 87 ]]:log():show():Do()
85 end 88 end
86 os.exit(0) 89 os.exit(0)