[arch-commits] Commit in libreoffice-still/trunk (libreoffice-still-common.install)
Andreas Radke
andyrtr at archlinux.org
Mon Aug 18 19:15:29 UTC 2014
Date: Monday, August 18, 2014 @ 21:15:29
Author: andyrtr
Revision: 220211
more cleanup install msg
Modified:
libreoffice-still/trunk/libreoffice-still-common.install
----------------------------------+
libreoffice-still-common.install | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
Modified: libreoffice-still-common.install
===================================================================
--- libreoffice-still-common.install 2014-08-18 18:06:36 UTC (rev 220210)
+++ libreoffice-still-common.install 2014-08-18 19:15:29 UTC (rev 220211)
@@ -1,16 +1,14 @@
post_install() {
-
-xdg-icon-resource forceupdate --theme hicolor
-update-desktop-database -q
-update-mime-database usr/share/mime > /dev/null 2>&1
+ xdg-icon-resource forceupdate --theme hicolor
+ update-desktop-database -q
+ update-mime-database usr/share/mime > /dev/null 2>&1
}
post_upgrade() {
-# post_install $1
-xdg-icon-resource forceupdate --theme hicolor
-update-desktop-database -q
-update-mime-database usr/share/mime > /dev/null 2>&1
- if [ "`vercmp $2 4.2.5`" -lt 0 ]; then
+ xdg-icon-resource forceupdate --theme hicolor
+ update-desktop-database -q
+ update-mime-database usr/share/mime > /dev/null 2>&1
+ if [ "`vercmp $2 4.2.6`" -lt 0 ]; then
echo "Arch is now shipping LibreOffice in two branches:"
echo "* libreoffice-still: the maintenance branch you are using right now"
echo "* libreoffice-fresh: the new fresh release branch offering latest feature additions"
@@ -20,7 +18,7 @@
}
post_remove() {
-update-desktop-database -q
-xdg-icon-resource forceupdate --theme hicolor
-update-mime-database usr/share/mime > /dev/null 2>&1
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor
+ update-mime-database usr/share/mime > /dev/null 2>&1
}
More information about the arch-commits
mailing list