From 677415f6d7efc1e5b888570d70af311d2900c69c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:04:47 +0200 Subject: Adding live-helper 1.0~a2-1. --- helpers/lh_source_iso | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'helpers/lh_source_iso') diff --git a/helpers/lh_source_iso b/helpers/lh_source_iso index 96d24aee2..3254ed62a 100755 --- a/helpers/lh_source_iso +++ b/helpers/lh_source_iso @@ -17,7 +17,6 @@ Set_defaults if [ "${LIVE_SOURCE}" = "disabled" ] then - echo "W: source images disabled (FIXME)" exit 0 fi @@ -26,28 +25,27 @@ do if [ "${IMAGE}" = "iso" ] then # Requiring stage file - Require_stagefile "${LIVE_ROOT}"/.stage/source_download + Require_stagefile .stage/source_download # Checking lock file - Check_lockfile "${LIVE_ROOT}"/.lock + Check_lockfile .lock # Creating lock file - Create_lockfile "${LIVE_ROOT}"/.lock + Create_lockfile .lock # Checking stage file - Check_stagefile "${LIVE_ROOT}"/.stage/source_iso + Check_stagefile .stage/source_iso # Remove old source - if [ -f "${LIVE_ROOT}"/source.iso ] + if [ -f source.iso ] then - rm -f "${LIVE_ROOT}"/source.iso + rm -f source.iso fi # Create image - cd "${LIVE_ROOT}" && ${LH_GENISOIMAGE} -A "Debian Live" -p "Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org" -publisher "Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org" -o source.iso -r -J -l -V "${LIVE_DISK_VOLUME}" source # Creating stage file - Create_stagefile "${LIVE_ROOT}"/.stage/source_iso + Create_stagefile .stage/source_iso fi done -- cgit v1.2.3