echo "Updating desktop database: update-desktop-database -q usr/share/applications" chroot "$rootdir" /usr/bin/update-desktop-database -q usr/share/applications 2> /dev/null