Make files executable

This commit is contained in:
Jordan ERNST 2022-04-24 03:08:34 +02:00
parent 66b9959b68
commit 36c46920ec
2 changed files with 9 additions and 1 deletions

View File

@ -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 ?

View File

@ -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):