aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)