summaryrefslogtreecommitdiff
path: root/pcr/openresolv-openrc/openrc-path.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-11-10 10:49:34 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-11-10 10:49:34 -0500
commit53a2c7d690cae7e8eb6ed4a65dc4ff59001347bf (patch)
treed29ff98cf468fd6b2e5bce29137be5fb8991b2a8 /pcr/openresolv-openrc/openrc-path.patch
parent456521ffe92a4ca7fd8ae63dcc705ff4b9993802 (diff)
Removing openresolv-openrc: It was removed in upstream
Diffstat (limited to 'pcr/openresolv-openrc/openrc-path.patch')
-rw-r--r--pcr/openresolv-openrc/openrc-path.patch30
1 files changed, 0 insertions, 30 deletions
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"
-