# HG changeset patch # User Christopher Rogers # Date 1288302736 0 # Node ID 26447f46de4b4ad34dae6725214cca25bc8b6087 # Parent 3c51c147833a231533aa75ad125636c557cb0295 Fixed update_desktop_database to use /usr/share/applications. This way it will update chroot desktop database. diff -r 3c51c147833a -r 26447f46de4b tazpkg --- a/tazpkg Tue Oct 19 21:08:42 2010 +0000 +++ b/tazpkg Thu Oct 28 21:52:16 2010 +0000 @@ -1299,7 +1299,7 @@ update_desktop_database() { if [ -f /usr/bin/update-desktop-database ] && [ -n "$updatedesktopdb" ]; then - update-desktop-database + update-desktop-database $1/usr/share/applications fi } @@ -1654,7 +1654,7 @@ check_for_installed_package $ROOT fi install_package $ROOT - update_desktop_database ;; + update_desktop_database $ROOT ;; install-list|get-install-list) # Install a set of packages from a list. # @@ -2513,7 +2513,7 @@ PACKAGE_FILE=$CACHE_DIR/$PACKAGE.tazpkg install_package $ROOT [ "$AUTOEXEC" != "no" ] && $PACKAGE $ROOT - update_desktop_database;; + update_desktop_database $ROOT ;; clean-cache) # Remove all downloaded packages. #