fix more minixisms

This commit is contained in:
Dylan Araps 2019-09-28 15:02:44 +03:00
parent 180c00173a
commit 6b46e941cd

2
pfetch
View File

@ -1160,7 +1160,7 @@ main() {
# Print '$cursor_pos' amount of newlines to correctly position the # Print '$cursor_pos' amount of newlines to correctly position the
# cursor. This used to be a 'printf $(seq X X)' however 'seq' is only # cursor. This used to be a 'printf $(seq X X)' however 'seq' is only
# typically available (by default) on GNU based systems! # typically available (by default) on GNU based systems!
while [ "${i:-0}" -le "${cursor_pos:-0}" ]; do while [ "${i:=0}" -le "${cursor_pos:-0}" ]; do
printf '\n' printf '\n'
i=$((i + 1)) i=$((i + 1))
done >&6 done >&6