Merge pull request #20 from tildetown/master

leave behind editable global files
This commit is contained in:
hvincent
2017-11-22 01:58:38 -05:00
committed by GitHub
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])