From 7580b07259ad4d91a3ecb52367a6a460f8cf1237 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 29 Jun 2011 19:22:49 +0200 Subject: [PATCH] 98-clean-chroot: fix check for presence of update-menus. --- etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index 923277f..a9bb0e0 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -123,7 +123,7 @@ else $ROOTCMD ldconfig fi -if [ -x $target/usr/bin/update-menus ] ; then +if ! [ -x $target/usr/bin/update-menus ] ; then echo "Warning: update-menus not installed" else echo "Updating windowmanager menus" -- 2.1.4