mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
11 lines
228 B
Plaintext
11 lines
228 B
Plaintext
|
#!/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)
|