]> git.parisson.com Git - telemeta.git/commitdiff
Fixed more than 2 install dirs
authormomo <>
Sun, 28 Jan 2007 19:05:45 +0000 (19:05 +0000)
committermomo <>
Sun, 28 Jan 2007 19:05:45 +0000 (19:05 +0000)
install.py

index 0b409212a3aee14eb6c0cbb10265b4ee2a62bfd7..97b6f0dc30d685df3f12ea5d53320f68d51e749f 100755 (executable)
@@ -23,9 +23,13 @@ import os, sys
 
 if len(sys.argv) == 1:
        install_dir = '/usr/share/telemeta/'
+elif len(sys.argv) > 2:
+       sys.exit('Give just one directory to install Telemeta, or none.')
 else:
        install_dir = sys.argv[1]
 
+
+
 if not os.path.exists(install_dir):
        os.mkdir(install_dir)