Browse Source

test fix prompt

pull/709/head
lrob 9 years ago
parent
commit
079dde953d
  1. 3
      functions/command_fastdl.sh

3
functions/command_fastdl.sh

@ -27,6 +27,8 @@ if [ -z "$(command -v bzip2)" ]; then
bzip2installed="0" bzip2installed="0"
fn_printinfo "bzip2 is not installed !" fn_printinfo "bzip2 is not installed !"
fn_scriptlog "bzip2 is not installed" fn_scriptlog "bzip2 is not installed"
echo -en "\n"
sleep 1
echo "We advise using it" echo "We advise using it"
echo "For more information, see https://github.com/dgibbs64/linuxgsm/wiki/Fastdl#bzip2-compression" echo "For more information, see https://github.com/dgibbs64/linuxgsm/wiki/Fastdl#bzip2-compression"
sleep 2 sleep 2
@ -80,6 +82,7 @@ echo -en "\n"
sleep 2 sleep 2
if [ ${newfastdl} == 1 ]; then if [ ${newfastdl} == 1 ]; then
fn_printdots "Enable clearing old FastDL files?" fn_printdots "Enable clearing old FastDL files?"
echo ""
sleep 1 sleep 1
while true; do while true; do
read -p "Clear old FastDL? [y/n]" yn read -p "Clear old FastDL? [y/n]" yn

Loading…
Cancel
Save