Add -e to .sh scripts

This commit is contained in:
Sergey Dolin
2020-10-07 13:49:40 +05:00
parent 87d16c5f7d
commit 1d4f281899
83 changed files with 93 additions and 163 deletions

View File

@@ -1,11 +1,10 @@
#!/bin/bash
#!/bin/bash -e
################################################################################
## File: example.sh
## Desc: This is an example script that can be copied to add a new software
## installer to the image
################################################################################
# Test to see if the software in question is already installed, if not install it
echo "Checking to see if the installer script has already been run"
if [ -z $EXAMPLE_VAR ]; then