summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin R. St-Amant2015-09-02 17:24:07 -0500
committerJustin R. St-Amant2015-09-02 17:24:07 -0500
commit5dcc3f0705b35bdb749949cfbe6746bccf45f44e (patch)
treee30a0e565533e9b3af75fd45a384ec1eacb0489d
parent854cb0889e26db7a29c7e49bd564167a4ea52650 (diff)
downloadaur-5dcc3f0705b35bdb749949cfbe6746bccf45f44e.tar.gz
added "update-mime-database" to .install file as per namcap's suggestion
-rw-r--r--draftsight.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/draftsight.install b/draftsight.install
index 02eac5e3228a..a349e97dfe79 100644
--- a/draftsight.install
+++ b/draftsight.install
@@ -2,6 +2,9 @@ post_install()
{
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
+ update-mime-database usr/share/mime
+
+ echo
echo "ATTENTION Nvidia/Nouveau driver users:"
echo "======================================"
echo
@@ -11,12 +14,16 @@ post_install()
echo
echo "Please refer to the comment section of this package in AUR: https://aur.archlinux.org/packages/draftsight/"
echo "Or for additional reading, refer to manual pages nv(4), nouveau(4), xorg.conf(5); and the Wiki pages for Nvidia, Nouveau, and Xorg."
+ echo
}
post_update()
{
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
+ update-mime-database usr/share/mime
+
+ echo
echo "ATTENTION Nvidia/Nouveau driver users:"
echo "======================================"
echo
@@ -26,11 +33,13 @@ post_update()
echo
echo "Please refer to the comment section of this package in AUR: https://aur.archlinux.org/packages/draftsight/"
echo "Or for additional reading, refer to manual pages nv(4), nouveau(4), xorg.conf(5); and the Wiki pages for Nvidia, Nouveau, and Xorg."
+ echo
}
post_remove()
{
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
+ update-mime-database usr/share/mime
}