From 53a2c7d690cae7e8eb6ed4a65dc4ff59001347bf Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 10 Nov 2015 10:49:34 -0500 Subject: Removing openresolv-openrc: It was removed in upstream --- pcr/openresolv-openrc/openrc-path.patch | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 pcr/openresolv-openrc/openrc-path.patch (limited to 'pcr/openresolv-openrc/openrc-path.patch') diff --git a/pcr/openresolv-openrc/openrc-path.patch b/pcr/openresolv-openrc/openrc-path.patch deleted file mode 100644 index dd550623a..000000000 --- a/pcr/openresolv-openrc/openrc-path.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- openresolv-3.6.1/configure 2015-01-11 13:53:25.286463178 +0530 -+++ openresolv-3.6.1/configure-openrc 2015-01-11 13:52:42.716464000 +0530 -@@ -159,7 +159,11 @@ - - if [ -z "$RESTARTCMD" ]; then - printf "Checking for OpenRC ... " -- if [ -x /sbin/rc-service ]; then -+ # For Arch /sbin -> /usr/bin -+ if [ -x /usr/bin/rc-service ]; then -+ RESTARTCMD="if /usr/bin/rc-service -e \1; then /usr/bin/rc-service \1 -- -Ds restart; fi" -+ echo "yes" -+ elif [ -x /sbin/rc-service ]; then - RESTARTCMD="if /sbin/rc-service -e \1; then /sbin/rc-service \1 -- -Ds restart; fi" - echo "yes" - else -@@ -178,7 +182,12 @@ - fi - if [ -z "$RESTARTCMD" ]; then - printf "Checking for service ... " -- if [ -x /sbin/service ]; then -+ # For Arch /sbin -> /usr/bin -+ if [ -x /usr/bin/service ]; then -+ RCDIR=/etc/init.d -+ RESTARTCMD="if /usr/bin/service \1; then /usr/bin/service \1 restart; fi" -+ echo "yes" -+ elif [ -x /sbin/service ]; then - RCDIR=/etc/init.d - RESTARTCMD="if /sbin/service \1; then /sbin/service \1 restart; fi" - echo "yes" - -- cgit v1.2.3-2-g168b