diff options
author | dvs1 | 2024-11-04 15:55:32 +1000 |
---|---|---|
committer | dvs1 | 2024-11-04 15:55:32 +1000 |
commit | 40fa46891660ca4a44265a6d9e954d7e32c959e2 (patch) | |
tree | 9dad9834be3624f24038e5ddc0de6f42586c6688 | |
parent | Pass name to option funcs, and use it in help command. (diff) | |
download | JackOnAllDevices-40fa46891660ca4a44265a6d9e954d7e32c959e2.zip JackOnAllDevices-40fa46891660ca4a44265a6d9e954d7e32c959e2.tar.gz JackOnAllDevices-40fa46891660ca4a44265a6d9e954d7e32c959e2.tar.bz2 JackOnAllDevices-40fa46891660ca4a44265a6d9e954d7e32c959e2.tar.xz |
Install / uninstall aataaj docs.
Diffstat (limited to '')
-rwxr-xr-x | aataaj.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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() |
28 | end | 29 | end |
@@ -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) |