Improved install script
parent
63bc3cc0f0
commit
f6d28afda0
|
@ -1 +1,2 @@
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
backup_tool
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# Zip app
|
# Zip app
|
||||||
(cd app && zip -r ../app.zip *)
|
(cd app && zip -r ../app.zip * -x "__pycache__/*" "**/__pycache__/*" ".vim/*" "**/.vim/*")
|
||||||
|
|
||||||
pwd
|
|
||||||
|
|
||||||
# Add shebang to top of file
|
# Add shebang to top of file
|
||||||
echo "#!/usr/bin/env python3" | cat - app.zip > backup_tool
|
echo "#!/usr/bin/env python3" | cat - app.zip > backup_tool
|
||||||
|
|
Reference in New Issue