From 2bda0d54b37dd3ebf7917c3a58c0404d21afe7f6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 10 Mar 2022 23:01:07 +0000 Subject: shell will now default to dash asap --- repo/util/dash.xibuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'repo/util/dash.xibuild') diff --git a/repo/util/dash.xibuild b/repo/util/dash.xibuild index c85eeb8..a63eb4d 100644 --- a/repo/util/dash.xibuild +++ b/repo/util/dash.xibuild @@ -15,11 +15,13 @@ build () { package () { make DESTDIR=$PKG_DEST install - ln -s dash $PKG_DEST/usr/bin/sh } postinstall () { + command -v grep || exit 1 + command -v echo || exit 1 + if [ -f /etc/shells ] || grep -vq "dash" /etc/shells; then echo "/bin/bash" >> /etc/shells fi -- cgit v1.2.1