mirror of
https://github.com/cheat/cheat.git
synced 2025-09-05 19:42:55 +02:00
Changed from 2-spaces per indentation level to 4, per PEP-8 standard.
This commit is contained in:
10
install
10
install
@ -4,9 +4,9 @@ import shutil
|
||||
import sys
|
||||
|
||||
try:
|
||||
shutil.copy('./cheat', '/usr/local/bin/')
|
||||
shutil.copytree('./.cheat', expanduser('~') + '/.cheat')
|
||||
print "cheat has been installed successfully."
|
||||
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)
|
||||
print >> sys.stderr, "This installer must be run as root."
|
||||
sys.exit(1)
|
||||
|
Reference in New Issue
Block a user