Modified the installer.

This commit is contained in:
Chris Lane 2013-08-11 15:43:51 -04:00
parent 0f2494726f
commit 431cde776c

View file

@ -5,7 +5,7 @@ import sys
try:
shutil.copy('./cheat', '/usr/local/bin/')
shutil.copytree('./.cheat/', expanduser('~'))
shutil.copytree('./.cheat', expanduser('~') + '/.cheat')
except IOError as e:
print >> sys.stderr, "This installer must be run as root."
sys.exit(1)