2 echo "Updating desktop database: update-desktop-database -q usr/share/applications"
3 chroot "$rootdir" /usr/bin/update-desktop-database -q usr/share/applications
5 echo "Updating ICON cache: gtk-update-icon-cache -q -f -i usr/share/icons/hicolor"
6 chroot "$rootdir" /usr/bin/gtk-update-icon-cache -q -f -i usr/share/icons/hicolor