installer.sh.in: fix check for *-musl arch

This commit is contained in:
huglovefan 2018-11-20 14:21:32 +02:00 committed by Michael Aldridge
parent c45822d765
commit bb38cc21a2

View File

@ -1360,7 +1360,7 @@ menu() {
DEFITEM="Keyboard"
fi
if xbps-uhelper arch | grep '-musl$' > /dev/null; then
if xbps-uhelper arch | grep -qe '-musl$'; then
DIALOG --default-item $DEFITEM \
--extra-button --extra-label "Settings" \
--title " Void Linux installation menu " \