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:
parent
22c4fddcf7
commit
9e12c32890
4 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit on command errors and treat unset variables as an error
|
||||||
|
set -eu
|
||||||
|
|
||||||
app=pluxml
|
app=pluxml
|
||||||
app_path=/var/www/$app
|
app_path=/var/www/$app
|
||||||
save_path=$1
|
save_path=$1
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit on command errors and treat unset variables as an error
|
||||||
|
set -eu
|
||||||
|
|
||||||
app=pluxml
|
app=pluxml
|
||||||
|
|
||||||
#retrieve arguments
|
#retrieve arguments
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit on command errors and treat unset variables as an error
|
||||||
|
set -eu
|
||||||
|
|
||||||
app=pluxml
|
app=pluxml
|
||||||
app_path=/var/www/$app
|
app_path=/var/www/$app
|
||||||
save_path=$1
|
save_path=$1
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit on command errors and treat unset variables as an error
|
||||||
|
set -eu
|
||||||
|
|
||||||
app=pluxml
|
app=pluxml
|
||||||
|
|
||||||
#retrieve arguments
|
#retrieve arguments
|
||||||
|
|
Loading…
Reference in a new issue