[arch-commits] Commit in libreoffice-still/trunk (libreoffice-still-common.install)
Andreas Radke
andyrtr at archlinux.org
Tue Aug 19 18:31:13 UTC 2014
Date: Tuesday, August 19, 2014 @ 20:31:13
Author: andyrtr
Revision: 220252
upgpkg: libreoffice-still 4.2.6-2
show the branch msg only once at installation
Modified:
libreoffice-still/trunk/libreoffice-still-common.install
----------------------------------+
libreoffice-still-common.install | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: libreoffice-still-common.install
===================================================================
--- libreoffice-still-common.install 2014-08-19 15:12:28 UTC (rev 220251)
+++ libreoffice-still-common.install 2014-08-19 18:31:13 UTC (rev 220252)
@@ -2,6 +2,11 @@
xdg-icon-resource forceupdate --theme hicolor
update-desktop-database -q
update-mime-database usr/share/mime > /dev/null 2>&1
+ 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"
+ echo "If you want switch to the \"fresh\" branch run"
+ echo " pacman -S libreoffice-fresh"
}
post_upgrade() {
@@ -8,17 +13,10 @@
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"
- echo "If you want switch to the \"fresh\" branch run"
- echo " pacman -S libreoffice-fresh"
- fi
}
post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor
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