aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorMarvin Borner2019-06-29 00:22:22 +0200
committerMarvin Borner2019-06-29 00:22:22 +0200
commit05405c4234e9d372d0656f0b2d3b0f06b7cdbfe2 (patch)
treef9ceb259aa53aad89a697f1a8fbf66fbc13bb2fe /install.sh
parenta00860cfc36b2ab0eac10359356c60d9b4f87550 (diff)
Improved progress status
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh2
1 files changed, 2 insertions, 0 deletions
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 '{}' ';'