echo "Running localepurge"
$ROOTCMD localepurge
else
- echo "Warning: localepurg not installed"
+ echo "Warning: localepurge not installed"
fi
# revert dpkg-divert of hooks/instsoft.GRMLBASE, which is
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"