From: Michael Prokop Date: Wed, 29 Jun 2011 17:22:49 +0000 (+0200) Subject: 98-clean-chroot: fix check for presence of update-menus. X-Git-Tag: v0.15.1_0~40 X-Git-Url: http://git.grml.org/?p=grml-live-grml.git;a=commitdiff_plain;h=7580b07259ad4d91a3ecb52367a6a460f8cf1237 98-clean-chroot: fix check for presence of update-menus. --- 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"