change spinstr to match spinstr in basic-install.sh

This commit is contained in:
Promofaux 2016-04-03 21:45:00 +01:00
parent 2d08217173
commit c6fb0bad4b

View file

@ -29,7 +29,7 @@ spinner()
{ {
local pid=$1 local pid=$1
local delay=0.50 local delay=0.50
local spinstr='|/-\' local spinstr='/-\|'
while [ "$(ps a | awk '{print $1}' | grep "$pid")" ]; do while [ "$(ps a | awk '{print $1}' | grep "$pid")" ]; do
local temp=${spinstr#?} local temp=${spinstr#?}
printf " [%c] " "$spinstr" printf " [%c] " "$spinstr"