From c97f881fba091f172f047ea87d3287bb8d50c79f Mon Sep 17 00:00:00 2001 From: yomguy Date: Thu, 8 Jul 2010 23:44:29 +0000 Subject: [PATCH] fix install --- README | 1 + install.py | 9 ++------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README b/README index e4ee4b1..5d21c9d 100644 --- a/README +++ b/README @@ -55,4 +55,5 @@ MORE INFOS ========== See http://svn.parisson.org/telecaster/ +See http://svn.parisson.org/deefuzzer/ diff --git a/install.py b/install.py index ad78dd7..8b2f6bb 100644 --- a/install.py +++ b/install.py @@ -41,13 +41,7 @@ import os, sys import platform -if len(sys.argv) == 1: - install_dir = '/usr/share/telecaster' -elif len(sys.argv) > 2: - sys.exit('Give just one directory to install the TeleCaster, or none.') -else: - install_dir = sys.argv[1] - +install_dir = '/usr/share/telecaster' if not os.path.exists(install_dir): os.mkdir(install_dir) @@ -76,6 +70,7 @@ for dir in home_dirs: if not os.path.exists(home_dir): os.mkdir(home_dir) os.system('cp ' + conf_dir + os.sep + 'telecaster/home/' + dir + '/* ' + home_dir) + os.system('chown -R ' + user + ':' + user + ' ' + home_dir) print """ Installation successfull ! -- 2.39.5