aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-baselayout
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-04-28 22:51:50 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-04-28 22:51:50 +0200
commit0ee1ff779814f0a14d5305b69e9afa56037bdae5 (patch)
tree4141496185b960049af96ab864d8cfef8dbabad2 /main/alpine-baselayout
parentf9c196f688f6320d4b2387b2a4d2a256a9e761fe (diff)
downloadaports-0ee1ff779814f0a14d5305b69e9afa56037bdae5.tar.bz2
aports-0ee1ff779814f0a14d5305b69e9afa56037bdae5.tar.xz
main/alpine-baselayout: fix code-style and rebuild
Diffstat (limited to 'main/alpine-baselayout')
-rw-r--r--main/alpine-baselayout/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
index d043cf3e18..87229ccf70 100644
--- a/main/alpine-baselayout/APKBUILD
+++ b/main/alpine-baselayout/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-baselayout
pkgver=3.0.5
-pkgrel=2
+pkgrel=3
pkgdesc="Alpine base dir structure and init scripts"
url="https://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout"
arch="all"
@@ -157,9 +157,12 @@ package() {
EOF
if [ "$CARCH" = "s390x" ]; then
- for i in `seq 1 6`; do sed -i -e "s/tty$i::/\#tty$i::/g" "$srcdir"/inittab; done
- echo console::respawn:/sbin/getty 38400 /dev/console >> "$srcdir"/inittab
+ local i; for i in $(seq 1 6); do
+ sed -i "s/tty$i::/\#tty$i::/g" "$srcdir"/inittab
+ done
+ echo "console::respawn:/sbin/getty 38400 /dev/console" >> "$srcdir"/inittab
fi
+
install -m644 \
"$srcdir"/group \
"$srcdir"/passwd \