1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pluxml_ynh.git synced 2024-09-03 20:16:02 +02:00

[enh] scripts: use in all scripts excepted the remove one.

This commit is contained in:
Moul 2016-06-15 21:09:45 +00:00
parent 22c4fddcf7
commit 9e12c32890
4 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
app=pluxml
app_path=/var/www/$app
save_path=$1

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
app=pluxml
#retrieve arguments

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
app=pluxml
app_path=/var/www/$app
save_path=$1

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
app=pluxml
#retrieve arguments