mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 08:58:35 +01:00
11 lines
228 B
Text
11 lines
228 B
Text
|
#!/usr/bin/env python
|
||
|
import shutil
|
||
|
import sys
|
||
|
|
||
|
try:
|
||
|
shutil.copy('./cheat', '/usr/local/bin/')
|
||
|
# shutil.move('./.cheat', '~')
|
||
|
except IOError as e:
|
||
|
print >> sys.stderr, "This installer must be run as root."
|
||
|
sys.exit(1)
|