Merge pull request #20 from tildetown/master

leave behind editable global files
master
hvincent 2017-11-22 01:58:38 -05:00 committed by GitHub
commit 05f1e66c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -259,6 +259,7 @@ def write_global_feed(blogList):
""")
outfile.close()
subprocess.call(['chmod', 'a+w', FEED])
## misc helpers

View File

@ -269,6 +269,8 @@ press <enter> to begin, or <ctrl-c> to get out of here.
users.write(config.USER+"\n")
users.close()
subprocess.call(['chmod', 'a+w', config.USERFILE])
## make .ttbp directory structure
subprocess.call(["mkdir", config.PATH])
subprocess.call(["mkdir", config.USER_CONFIG])