diff options
Diffstat (limited to 'helpers/lh_source_hdd')
-rwxr-xr-x | helpers/lh_source_hdd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_source_hdd b/helpers/lh_source_hdd index a3bdd8c..1c8c88b 100755 --- a/helpers/lh_source_hdd +++ b/helpers/lh_source_hdd @@ -33,7 +33,7 @@ Set_defaults Breakpoint "source_hdd: Init" -if [ "${LIVE_SOURCE}" = "disabled" ] +if [ "${LIVE_SOURCE}" != "enabled" ] then exit 0 fi @@ -45,15 +45,15 @@ do # Requiring stage file Require_stagefile .stage/source_download + # Checking stage file + Check_stagefile .stage/source_hdd + # Checking lock file Check_lockfile .lock # Creating lock file Create_lockfile .lock - # Checking stage file - Check_stagefile .stage/source_hdd - # Remove old source if [ -f source-hdd.tar.gz ] then |