about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@vulturis.eu>2014-01-18 12:24:16 +0100
committerPaweł Jastrzębski <pawelj@vulturis.eu>2014-01-18 12:24:16 +0100
commit42cf9e099fd9ed63fb099f987eccda06ffdb7d41 (patch)
treee8c935cd3406d2bfebe85b710abdcc9928b6b286
parentDetect Python 2 + README update (diff)
downloadkcc-42cf9e099fd9ed63fb099f987eccda06ffdb7d41.tar.gz
kcc-42cf9e099fd9ed63fb099f987eccda06ffdb7d41.tar.bz2
kcc-42cf9e099fd9ed63fb099f987eccda06ffdb7d41.zip
Updated Linux installer
-rwxr-xr-xsetup.sh17
1 files changed, 15 insertions, 2 deletions
diff --git a/setup.sh b/setup.sh
index fe68a57..ed1f9e5 100755
--- a/setup.sh
+++ b/setup.sh
@@ -8,5 +8,18 @@ zip kcc.zip __main__.py kcc/*.py
 echo "#!/usr/bin/env python3" > kcc-bin
 cat kcc.zip >> kcc-bin
 chmod +x kcc-bin
-tar --xform s:^.*/:: --xform s/kcc-bin/kcc/ --xform s/comic2ebook/kcc/ -czf KindleComicConverter_linux_$VERSION.tar.gz kcc-bin LICENSE.txt icons/comic2ebook.png
-rm __main__.py kcc.zip kcc-bin 
+
+cp kcc-c2e.py __main__.py
+zip kcc-c2e.zip __main__.py kcc/*.py
+echo "#!/usr/bin/env python3" > kcc-c2e-bin
+cat kcc-c2e.zip >> kcc-c2e-bin
+chmod +x kcc-c2e-bin
+
+cp kcc-c2p.py __main__.py
+zip kcc-c2p.zip __main__.py kcc/*.py
+echo "#!/usr/bin/env python3" > kcc-c2p-bin
+cat kcc-c2p.zip >> kcc-c2p-bin
+chmod +x kcc-c2p-bin
+
+tar --xform s:^.*/:: --xform s/kcc-bin/kcc/ --xform s/kcc-c2p-bin/kcc-c2p/ --xform s/kcc-c2e-bin/kcc-c2e/ --xform s/comic2ebook/kcc/ -czf KindleComicConverter_linux_$VERSION.tar.gz kcc-bin kcc-c2e-bin kcc-c2p-bin LICENSE.txt icons/comic2ebook.png
+rm __main__.py kcc.zip kcc-c2e.zip kcc-c2p.zip kcc-bin kcc-c2e-bin kcc-c2p-bin