[126047] trunk/dports/gnome/gnumeric/Portfile

devans at macports.org devans at macports.org
Thu Oct 2 10:12:33 PDT 2014


Revision: 126047
          https://trac.macports.org/changeset/126047
Author:   devans at macports.org
Date:     2014-10-02 10:12:33 -0700 (Thu, 02 Oct 2014)
Log Message:
-----------
gnumeric: don't use catch in post-activate, not necessary and can mask processing errors.

Modified Paths:
--------------
    trunk/dports/gnome/gnumeric/Portfile

Modified: trunk/dports/gnome/gnumeric/Portfile
===================================================================
--- trunk/dports/gnome/gnumeric/Portfile	2014-10-02 15:59:34 UTC (rev 126046)
+++ trunk/dports/gnome/gnumeric/Portfile	2014-10-02 17:12:33 UTC (rev 126047)
@@ -77,11 +77,11 @@
 }
 
 post-activate {
-    catch {system "${prefix}/bin/scrollkeeper-update"}
-    catch {system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"}
+    system "${prefix}/bin/scrollkeeper-update"
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
 # gtk3 provides gtk-update-icon-cache-3.0
-    catch {system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"}
-    catch {system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"}
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
 }
 
 livecheck.type  gnome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141002/6d372f69/attachment.html>


More information about the macports-changes mailing list