tazpkg rev 368
Fixed update_desktop_database to use /usr/share/applications. This way it will update chroot desktop database.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 28 21:52:16 2010 +0000 (2010-10-28) |
parents | 3c51c147833a |
children | f9c4712bb590 |
files | tazpkg |
line diff
1.1 --- a/tazpkg Tue Oct 19 21:08:42 2010 +0000 1.2 +++ b/tazpkg Thu Oct 28 21:52:16 2010 +0000 1.3 @@ -1299,7 +1299,7 @@ 1.4 update_desktop_database() 1.5 { 1.6 if [ -f /usr/bin/update-desktop-database ] && [ -n "$updatedesktopdb" ]; then 1.7 - update-desktop-database 1.8 + update-desktop-database $1/usr/share/applications 1.9 fi 1.10 } 1.11 1.12 @@ -1654,7 +1654,7 @@ 1.13 check_for_installed_package $ROOT 1.14 fi 1.15 install_package $ROOT 1.16 - update_desktop_database ;; 1.17 + update_desktop_database $ROOT ;; 1.18 install-list|get-install-list) 1.19 # Install a set of packages from a list. 1.20 # 1.21 @@ -2513,7 +2513,7 @@ 1.22 PACKAGE_FILE=$CACHE_DIR/$PACKAGE.tazpkg 1.23 install_package $ROOT 1.24 [ "$AUTOEXEC" != "no" ] && $PACKAGE $ROOT 1.25 - update_desktop_database;; 1.26 + update_desktop_database $ROOT ;; 1.27 clean-cache) 1.28 # Remove all downloaded packages. 1.29 #