[Lunar-commits] <moonbase> thunderbird: fixed post_build

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Jun 17 15:54:59 CEST 2012


commit 1e7fd19df2ac391be684f97b3722ec329fe96333
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Jun 17 15:54:59 2012 +0200

    thunderbird: fixed post_build
---
 mail/thunderbird/POST_INSTALL |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mail/thunderbird/POST_INSTALL b/mail/thunderbird/POST_INSTALL
index 0779f1c..5ddd00b 100644
--- a/mail/thunderbird/POST_INSTALL
+++ b/mail/thunderbird/POST_INSTALL
@@ -1,7 +1,8 @@
 OLD_VER="`get_module_config OLD_VER`"
+NEW_VER="`get_module_config NEW_VER`"
 TBIRD_LIBDIR=thunderbird-$VERSION
 
-if [ ! -z $OLD_VER ]; then
+if [ ! -z "$OLD_VER" ] && [ "$OLD_VER" != "$NEW_VER" ] ; then
   rm -rf /usr/lib/thunderbird-$OLD_VER
   rm -rf /usr/lib/thunderbird-devel-$OLD_VER
   rm -rf /usr/include/thunderbird-$OLD_VER


More information about the Lunar-commits mailing list