summaryrefslogtreecommitdiff
path: root/helpers/lh_source_hdd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:50 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commit4739146fc6c4de8b16418517bb882312c475195c (patch)
treea3c29d97d1ead4ad4fa532b1c6bfdb419f160e71 /helpers/lh_source_hdd
parent1863ed88740575342008ac5f694d03e944bcece2 (diff)
downloadlive-build-4739146fc6c4de8b16418517bb882312c475195c.zip
live-build-4739146fc6c4de8b16418517bb882312c475195c.tar.gz
Adding live-helper 1.0~a6-1.
Diffstat (limited to 'helpers/lh_source_hdd')
-rwxr-xr-xhelpers/lh_source_hdd8
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