mirror of
https://github.com/cheat/cheat.git
synced 2024-12-22 12:45:06 +01:00
Remove old install script
This commit is contained in:
parent
3c9136b476
commit
389d6d5671
12
install
12
install
@ -1,12 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
from os.path import expanduser
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
try:
|
||||
shutil.copy('./cheat', '/usr/local/bin/')
|
||||
shutil.copytree('./.cheat', expanduser('~') + '/.cheat')
|
||||
print "cheat has been installed successfully."
|
||||
except IOError as e:
|
||||
print >> sys.stderr, "This installer must be run as root."
|
||||
sys.exit(1)
|
Loading…
Reference in New Issue
Block a user