summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2006-06-26 10:03:13 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2006-06-26 10:03:13 +0000
commite7c0ebf36e570347dff55a5e55dbfe1fad8734df (patch)
treeac4bd24862c13c9712d3657e852426e47400e59f
parentec5ad208c4f95665bb858681af00feeb9403237d (diff)
downloadvyos-strongswan-e7c0ebf36e570347dff55a5e55dbfe1fad8734df.tar.gz
vyos-strongswan-e7c0ebf36e570347dff55a5e55dbfe1fad8734df.zip
Ok, need two different...
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/use-bash1.diff (renamed from debian/use-bash.diff)2
-rw-r--r--debian/use-bash2.diff4
3 files changed, 7 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 5e5fb9746..1b40573a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -111,8 +111,8 @@ install-strongswan: build
install --mode=0600 $(CURDIR)/debian/ipsec.secrets.proto $(CURDIR)/debian/strongswan/etc/ipsec.secrets
# use bash for init.d and _plutorun
- patch $(CURDIR)/debian/strongswan/etc/init.d/ipsec < debian/use-bash.diff
- patch $(CURDIR)/debian/strongswan/usr/lib/ipsec/_plutorun < debian/use-bash.diff
+ patch $(CURDIR)/debian/strongswan/etc/init.d/ipsec < debian/use-bash1.diff
+ patch $(CURDIR)/debian/strongswan/usr/lib/ipsec/_plutorun < debian/use-bash2.diff
# install the fswcert tool
install $(CURDIR)/programs/fswcert/fswcert $(CURDIR)/debian/strongswan/usr/bin
diff --git a/debian/use-bash.diff b/debian/use-bash1.diff
index 6d0c922df..8c46186de 100644
--- a/debian/use-bash.diff
+++ b/debian/use-bash1.diff
@@ -1,4 +1,4 @@
1c1
-< #! /bin/sh
+< # !/bin/sh
---
> #!/bin/bash
diff --git a/debian/use-bash2.diff b/debian/use-bash2.diff
new file mode 100644
index 000000000..ccee7f27e
--- /dev/null
+++ b/debian/use-bash2.diff
@@ -0,0 +1,4 @@
+1c1
+< #!/bin/sh
+---
+> #!/bin/bash