[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#388060: [Patch] fixup handling of -p switch and LIVE_PACKAGE_LIST to make absoluto paths do the right thing



Package: live-package
Version: 0.99.6-1
Tags: patch

Attached is a patch to /usr/share/make-live/scripts/02defaults.sh to
fixup LIVE_PACKAGE_LIST handling.

The logic can briefly be described by:
If user sets -p switch or env var then _do_not_ reset to "minimal" if
minimal flavour. The user is always right! If the user did not set -p
(or env var) and "-f minimal" then do set to minimal.
if -p or env var starts with "/" and is readable then that is fine.
if not then check relative to  /usr/share/make-live/lists and again
check if readable.
fall back to standard package list if none found.


However the  code does a better job of decribing itself!!!

Regards
Alex Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02defaults.sh.patch
Type: text/x-patch
Size: 1666 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20060918/f721769c/02defaults.sh.bin

Reply to: