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.0~13 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=7580b07259ad4d91a3ecb52367a6a460f8cf1237;hp=2e0d659c70c2b62509cf7196f73bc7ba0475ccbb 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"