Improved install script

pull/3/head
Jef Roosens 2021-01-03 12:43:48 +01:00
parent 63bc3cc0f0
commit f6d28afda0
2 changed files with 2 additions and 3 deletions

1
backups/.gitignore vendored
View File

@ -1 +1,2 @@
__pycache__/
backup_tool

View File

@ -1,9 +1,7 @@
#!/usr/bin/env sh
# Zip app
(cd app && zip -r ../app.zip *)
pwd
(cd app && zip -r ../app.zip * -x "__pycache__/*" "**/__pycache__/*" ".vim/*" "**/.vim/*")
# Add shebang to top of file
echo "#!/usr/bin/env python3" | cat - app.zip > backup_tool