Still hacking in cheat sheets. Wrote a trivial python installer.

This commit is contained in:
Chris Lane
2013-08-10 16:32:49 -04:00
parent 1786a57d5e
commit 8e9cfc0eb1
2 changed files with 43 additions and 11 deletions

10
install Executable file
View File

@ -0,0 +1,10 @@
#!/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)