post_install () { update-desktop-database -q echo "* Edit config.h in sxiv's PKGBUILD directory (generally /var/abs/community/sxiv/)" echo " and rebuild package if you want to change settings." echo "* Create the directory ~/.sxiv/ to enable thumbnail caching." echo " See sxiv(1) for more information." } post_upgrade () { update-desktop-database -q }