[arch-commits] Commit in scribus/trunk (scribus.install)

Daniel Griffiths dgriffiths at archlinux.org
Wed May 5 01:51:22 UTC 2010


    Date: Tuesday, May 4, 2010 @ 21:51:22
  Author: dgriffiths
Revision: 79646

FS#19316

Modified:
  scribus/trunk/scribus.install

-----------------+
 scribus.install |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: scribus.install
===================================================================
--- scribus.install	2010-05-05 01:49:29 UTC (rev 79645)
+++ scribus.install	2010-05-05 01:51:22 UTC (rev 79646)
@@ -1,15 +1,13 @@
 
 post_install() {
   echo "update desktop mime database..."
-  update-mime-database usr/share/mime
-  update-desktop-database -q
+  update-mime-database usr/share/mime &2>/dev/null
+  update-desktop-database -q &2>/dev/null
 }
 post_upgrade() {
   post_install $1
 }
 
 post_remove() {
-  echo "update desktop mime database..."
-  update-mime-database usr/share/mime 
-  update-desktop-database -q
+  post_install $1
 }




More information about the arch-commits mailing list