summaryrefslogtreecommitdiff
path: root/helpers/lh_source_usb
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_source_usb')
-rwxr-xr-xhelpers/lh_source_usb8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_source_usb b/helpers/lh_source_usb
index bec69e0..178a558 100755
--- a/helpers/lh_source_usb
+++ b/helpers/lh_source_usb
@@ -33,7 +33,7 @@ Set_defaults
Breakpoint "source_usb: 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_usb
+
# Checking lock file
Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
- # Checking stage file
- Check_stagefile .stage/source_usb
-
if [ ! -f chroot/sbin/mkdosfs ]
then
PACKAGES="${PACKAGES} dosfstools"