summaryrefslogtreecommitdiff
path: root/helpers/lh_source_net
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_source_net')
-rwxr-xr-xhelpers/lh_source_net8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_source_net b/helpers/lh_source_net
index a149d5c..67ed8fa 100755
--- a/helpers/lh_source_net
+++ b/helpers/lh_source_net
@@ -33,7 +33,7 @@ Set_defaults
Breakpoint "source_net: 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_net
+
# Checking lock file
Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
- # Checking stage file
- Check_stagefile .stage/source_net
-
# Remove old source
if [ -f source-net.tar.gz ]
then