xbps-base-files: some more fixes for the triggers.
--HG-- extra : convert_revision : 9a96f3d2101793c8dd8e140dc2728cadd9496f61
This commit is contained in:
@@ -17,12 +17,12 @@ targets)
|
||||
echo "post-install post-remove"
|
||||
;;
|
||||
run)
|
||||
if [ "$2" = "post-remove" -a "${PKGNAME}" = "desktop-file-utils" ]; then
|
||||
[ -f ${desktopdb_cache} ] && rm -f ${desktopdb_cache}
|
||||
break
|
||||
fi
|
||||
case "$2" in
|
||||
post-*)
|
||||
if [ "${PKGNAME}" = "desktop-file-utils" ]; then
|
||||
[ -f ${desktopdb_cache} ] && rm -f ${desktopdb_cache}
|
||||
break
|
||||
fi
|
||||
if [ -x ${desktopdb_bin} ]; then
|
||||
echo "Updating MIME database..."
|
||||
${desktopdb_bin} ${desktopdb_dir}
|
||||
|
||||
Reference in New Issue
Block a user