Skip to content
Snippets Groups Projects
Commit 084b9372 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/alpine-conf: add fix for setup-interfaces

parent f3830a9e
No related branches found
No related tags found
No related merge requests found
From d5c11ff64cb280ddd1bc8b57e34508e2fa1d3c5c Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 6 May 2015 22:13:12 +0200
Subject: [PATCH] setup-interfaces: replace non-breaking space with normal
space
Non-breaking space (0xc2 0xa0) was added by mistake. Replace it with a
normal space.
---
setup-interfaces.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup-interfaces.in b/setup-interfaces.in
index 1bf0713..c62cd30 100644
--- a/setup-interfaces.in
+++ b/setup-interfaces.in
@@ -400,7 +400,7 @@ prompt_for_interfaces() {
index=$(( $index + 1 ))
done
- if [ "$(openrc --sys)" != "LXC" ] || ! ip addr show lo | grep -q 'inet.*127\.0'; then
+ if [ "$(openrc --sys)" != "LXC" ] || ! ip addr show lo | grep -q 'inet.*127\.0'; then
echo "type=loopback" > 000~lo.conf
echo "" > interface
fi
--
2.4.0
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.2.0
pkgrel=0
pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
arch="all"
license="GPL2"
depends="openrc"
source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz
0001-setup-interfaces-replace-non-breaking-space-with-nor.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -34,6 +35,9 @@ package() {
done
}
md5sums="db580800445157df07c681722aab4b6b alpine-conf-3.2.0.tar.xz"
sha256sums="9a2d1b23ba9f19ecdd07798d79f8ab6ba63ea28daa1cbbf19da8bd1c2e6b9484 alpine-conf-3.2.0.tar.xz"
sha512sums="9e1b41d94212596693d7e98f3a310b0576c86628ed528a1f112fab72bc4d14e88d99a7bedf834563e0337ccf0b256a450e47bfb3a4dd4935130fcd503d35f2ea alpine-conf-3.2.0.tar.xz"
md5sums="db580800445157df07c681722aab4b6b alpine-conf-3.2.0.tar.xz
15eecd5eef638a7366e32c5a8c215674 0001-setup-interfaces-replace-non-breaking-space-with-nor.patch"
sha256sums="9a2d1b23ba9f19ecdd07798d79f8ab6ba63ea28daa1cbbf19da8bd1c2e6b9484 alpine-conf-3.2.0.tar.xz
a8122d90fbd7fd69ef793f8f116a1a518d861b6bfde8b837dbcb6477aa16933e 0001-setup-interfaces-replace-non-breaking-space-with-nor.patch"
sha512sums="9e1b41d94212596693d7e98f3a310b0576c86628ed528a1f112fab72bc4d14e88d99a7bedf834563e0337ccf0b256a450e47bfb3a4dd4935130fcd503d35f2ea alpine-conf-3.2.0.tar.xz
e11988eda8162463c980fd99f5492aa18e92ccf3e8ac52416145713ecf989758b84a603a8857dd9cf603ffd8cf3ce181a12eb5c90ae8709eac4c85bf1ee9fde0 0001-setup-interfaces-replace-non-breaking-space-with-nor.patch"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment