summaryrefslogtreecommitdiffstats
path: root/lxc-0.9.0-fedora-template.patch
diff options
context:
space:
mode:
authorThomas Moschny <thm@fedoraproject.org>2013-09-04 18:34:14 +0200
committerThomas Moschny <thm@fedoraproject.org>2013-09-04 18:34:14 +0200
commit3864361ea2732bfcf24d99bdbe9a781229a19287 (patch)
treee0853997f578e368e11405086586d2bdc2613d46 /lxc-0.9.0-fedora-template.patch
parent6eecaff69c8a63e029b46c79b744d629e5f75f5b (diff)
downloadlxc-f18.tar.gz
lxc-f18.tar.xz
lxc-f18.zip
Small fix to the included Fedora template.f20f19f18el6
Diffstat (limited to 'lxc-0.9.0-fedora-template.patch')
-rw-r--r--lxc-0.9.0-fedora-template.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/lxc-0.9.0-fedora-template.patch b/lxc-0.9.0-fedora-template.patch
index 48eff32..aa23da2 100644
--- a/lxc-0.9.0-fedora-template.patch
+++ b/lxc-0.9.0-fedora-template.patch
@@ -1,5 +1,5 @@
diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
-index 684bb9c..841af16 100644
+index 684bb9c..922563d 100644
--- a/templates/lxc-fedora.in
+++ b/templates/lxc-fedora.in
@@ -26,18 +26,69 @@
@@ -47,7 +47,7 @@ index 684bb9c..841af16 100644
-if [ "$arch" = "i686" ]; then
- arch=i386
-+if [ ${CPE_NAME} != "" -a ${ID} = "fedora" -a ${VERSION_ID} != "" ]
++if [ "${CPE_NAME}" != "" -a "${ID}" = "fedora" -a "${VERSION_ID}" != "" ]
+then
+ fedora_host_ver=${VERSION_ID}
+ is_fedora=true