From 05405c4234e9d372d0656f0b2d3b0f06b7cdbfe2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 29 Jun 2019 00:22:22 +0200 Subject: Improved progress status --- install.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 2e2d73e..0bad93d 100644 --- a/install.sh +++ b/install.sh @@ -8,10 +8,12 @@ sudo cp -r boot etc kernel.conf /home/melvix/os sudo chown -R melvix /home/melvix sudo cp bootstrap.sh /home/melvix +tput civis while :;do for s in / - \\ \|; do printf "\r$s";sleep .1;done;done & trap "kill $!" EXIT sudo -i -u melvix bash bootstrap.sh ${source} kill $! && trap " " EXIT +tput cnorm export MELVIX=/home/melvix/os sudo find ${MELVIX}-copy/{,usr/}{bin,lib,sbin} -type f -exec sudo strip --strip-debug '{}' ';' -- cgit v1.2.3