diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-10-11 07:59:51 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-10-11 08:31:29 +0200 |
commit | 48f3cfe728c1ffe44629c792380d4d47466ee38f (patch) | |
tree | 537c2506f0b0c2a8006ba8ea983a24338effa335 /auto/functions/debpool-hook | |
parent | 797ee5a8cf5bb066143582a7fb042285f2f220e3 (diff) | |
download | kanotix-48f3cfe728c1ffe44629c792380d4d47466ee38f.zip kanotix-48f3cfe728c1ffe44629c792380d4d47466ee38f.tar.gz |
compat update for latest live-build version
Diffstat (limited to 'auto/functions/debpool-hook')
-rw-r--r-- | auto/functions/debpool-hook | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/auto/functions/debpool-hook b/auto/functions/debpool-hook index c86a065..e56df34 100644 --- a/auto/functions/debpool-hook +++ b/auto/functions/debpool-hook @@ -1,6 +1,8 @@ #!/bin/bash -if [ "$(basename "$0")" = "lb_chroot_local-hooks" ]; then +current_script="$(basename "$0"|sed 's/^lb_//')" + +if [ "$current_script" = "chroot_local-hooks" ]; then echo "HOOK: debpool@chroot_local-hooks" if [ -e config/chroot_debpool ]; then mkdir -p chroot/live @@ -8,7 +10,7 @@ if [ "$(basename "$0")" = "lb_chroot_local-hooks" ]; then fi fi -if [ "$(basename "$0")" = "lb_binary_rootfs" ]; then +if [ "$current_script" = "binary_rootfs" ]; then echo "HOOK: debpool@binary-rootfs" for dir in chroot/chroot/live chroot/live do |