summaryrefslogtreecommitdiff
path: root/helpers/lh_source_iso
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_source_iso')
-rwxr-xr-xhelpers/lh_source_iso8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_source_iso b/helpers/lh_source_iso
index f5b18cc86..f69b70571 100755
--- a/helpers/lh_source_iso
+++ b/helpers/lh_source_iso
@@ -33,7 +33,7 @@ Set_defaults
Breakpoint "source_iso: 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_iso
+
# Checking lock file
Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
- # Checking stage file
- Check_stagefile .stage/source_iso
-
# Remove old source
if [ -f source.iso ]
then