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