[zabbix] traceroute is available in /usr/bin after the UsrMove feature in F-17

Dan Horák sharkcz at fedoraproject.org
Fri Jul 13 09:31:20 UTC 2012


commit 751e56a4d4f4596d203d57e2cddb7352dfd6dcae
Author: Dan Horák <dan at danny.cz>
Date:   Fri Jul 13 11:31:14 2012 +0200

    traceroute is available in /usr/bin after the UsrMove feature in F-17

 zabbix.spec |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/zabbix.spec b/zabbix.spec
index 9f40f3b..ce99fa0 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -268,7 +268,7 @@ Zabbix web frontend for SQLite
 rm -rf frontends/php/fonts
 
 # remove executable permissions
-chmod a-x upgrades/dbpatches/1.8/mysql/upgrade
+chmod a-x upgrades/dbpatches/*/mysql/upgrade
 
 # fix up some lib64 issues
 sed -i.orig -e 's|_LIBDIR=/usr/lib|_LIBDIR=%{_libdir}|g' \
@@ -286,12 +286,6 @@ touch -r frontends/php/css.css frontends/php/include/config.inc.php \
     frontends/php/include \
     frontends/php/include/classes
 
-# fix path to traceroute utility
-for f in database/*/data.sql
-do
-    sed -i.orig -e 's|/usr/bin/traceroute|/bin/traceroute|' $f
-done
-
 # FSF address is wrong
 # https://support.zabbix.com/browse/ZBX-4108
 


More information about the scm-commits mailing list