From a87d976add27e00de34b6f1ed19021ed012b3620 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 21 Oct 2009 13:12:48 +0200 Subject: Allow to overload global functions with local functions stored in the config tree at scripts/functions. live-helper 1.0.6 will be the last release of live-helper 1.x, which will produce lenny 5.0.3 release images. However, when 5.0.4 is due, we'll need to produce new images with slightly modified functions/release.sh files. In order to acchieve that, we'll allow to have such a file overload the functions shipped in live-helper. This way, we can acchieve that: * live-helper itself doesn't need to be updated through stable updates anymore. * we still can do the required changes for a new point release. * we even ship the changes in the source tarballs automatically. --- helpers/lh_config | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'helpers') diff --git a/helpers/lh_config b/helpers/lh_config index b9114bf53..9cbabf60a 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -210,6 +210,11 @@ Local_arguments () rmdir --ignore-fail-on-non-empty config fi + if [ -d scripts/functions ] + then + rmdir --ignore-fail-on-non-empty scripts/functions + fi + if [ -d scripts ] then rmdir --ignore-fail-on-non-empty scripts -- cgit v1.2.3