leave behind editable global files

master
vilmibm 2017-11-22 05:12:49 +00:00
parent b4b2b34158
commit 63cc187557
2 changed files with 3 additions and 0 deletions

View File

@ -259,6 +259,7 @@ def write_global_feed(blogList):
""") """)
outfile.close() outfile.close()
subprocess.call(['chmod', 'a+w', FEED])
## misc helpers ## 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.write(config.USER+"\n")
users.close() users.close()
subprocess.call(['chmod', 'a+w', config.USERFILE])
## make .ttbp directory structure ## make .ttbp directory structure
subprocess.call(["mkdir", config.PATH]) subprocess.call(["mkdir", config.PATH])
subprocess.call(["mkdir", config.USER_CONFIG]) subprocess.call(["mkdir", config.USER_CONFIG])