Make files executable
This commit is contained in:
parent
66b9959b68
commit
36c46920ec
@ -6,7 +6,7 @@ This too has several functions:
|
||||
|
||||
## To-Do
|
||||
|
||||
* `chmod +x` :)
|
||||
* Prettier code
|
||||
* Only update once per day, except if `-u` `--update`
|
||||
* Adding more services to listen to ?
|
||||
|
||||
|
@ -181,6 +181,14 @@ def update(config):
|
||||
githubreleasesync(reponame, repoinfo, credz)
|
||||
|
||||
ncatsync(config['ncat'])
|
||||
make_executable()
|
||||
|
||||
|
||||
def make_executable():
|
||||
path = pathlib.Path('files')
|
||||
for fpath in path.glob("*"):
|
||||
if fpath.name != '.gitkeep':
|
||||
fpath.chmod(0o777)
|
||||
|
||||
|
||||
def print_menu(menu_options):
|
||||
|
Loading…
Reference in New Issue
Block a user