X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F98-clean-chroot;h=4e0013a89550304f12b73749274dc86fec14c5c2;hp=d5fd8e34ad2d0b5675534e85eb6454dfaf957a85;hb=4a05b54fec18a572de88ccf028fb1b5a1121ca0c;hpb=1d6dbfb96bb05b613b18af989c052488ffdea793 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index d5fd8e3..4e0013a 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -198,7 +198,7 @@ else EOF fi -if ! [ -x $target/usr/bin/updatedb ] ; then +if ! $ROOTCMD test -x /usr/bin/updatedb ; then echo "Warning: updatedb not installed" else echo "Updating locate-database"