Modified the installer.

This commit is contained in:
Chris Lane 2013-08-11 15:39:36 -04:00
parent 39b1cf391f
commit 0f2494726f
1 changed files with 1 additions and 3 deletions

View File

@ -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