mirror of
https://github.com/cheat/cheat.git
synced 2025-01-18 17:39:30 +01:00
Modified the installer.
This commit is contained in:
parent
39b1cf391f
commit
0f2494726f
4
install
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user