diff --git a/install b/install index 7fbdaa0..dd35d08 100755 --- a/install +++ b/install @@ -5,9 +5,7 @@ import sys try: shutil.copy('./cheat', '/usr/local/bin/') - shutil.copy('./.cheat/', expanduser('~')) + shutil.copytree('./.cheat/', expanduser('~')) except IOError as e: print >> sys.stderr, "This installer must be run as root." sys.exit(1) - -# don't forget to chown back to the normal user