summaryrefslogtreecommitdiff
path: root/src/chroot-tools/arch-nspawn.patch
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-05-24 23:58:03 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-05-24 23:58:03 -0600
commit903884b327d46eadefaf3362744b31006b5d729a (patch)
tree0ec8ecbf477629179b96baed354bcdfcaf1944e3 /src/chroot-tools/arch-nspawn.patch
parente398216226767990c0453b4c2b9ef49b75473f19 (diff)
Enforce two spaces after a period.
Diffstat (limited to 'src/chroot-tools/arch-nspawn.patch')
-rw-r--r--src/chroot-tools/arch-nspawn.patch11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/chroot-tools/arch-nspawn.patch b/src/chroot-tools/arch-nspawn.patch
index e387335..6b32f2b 100644
--- a/src/chroot-tools/arch-nspawn.patch
+++ b/src/chroot-tools/arch-nspawn.patch
@@ -1,5 +1,5 @@
---- arch-nspawn.in 2015-01-04 16:32:42.463202960 -0500
-+++ arch-nspawn.ugly 2015-01-05 14:51:34.678625475 -0500
+--- arch-nspawn.in 2015-05-24 19:32:57.117177433 -0600
++++ arch-nspawn.ugly 2015-05-24 23:40:04.031482147 -0600
@@ -1,4 +1,6 @@
#!/bin/bash
+# License: GNU GPLv2
@@ -7,7 +7,12 @@
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
-@@ -92,6 +94,7 @@
+@@ -88,10 +90,11 @@
+ if [[ ! -f "$working_dir/.arch-chroot" ]]; then
+ die "'%s' does not appear to be an Arch chroot." "$working_dir"
+ elif [[ $(cat "$working_dir/.arch-chroot") != $CHROOT_VERSION ]]; then
+- die "chroot '%s' is not at version %s. Please rebuild." "$working_dir" "$CHROOT_VERSION"
++ die "chroot '%s' is not at version %s. Please rebuild." "$working_dir" "$CHROOT_VERSION"
fi
build_mount_args