mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 09:16:55 +00:00
Update wgd.sh
update msleep for longer timeout, and move that var to the top to make it more obvious
This commit is contained in:
parent
69b9116dd5
commit
7c8410ab86
@ -15,6 +15,8 @@ heavy_checkmark=$(printf "\xE2\x9C\x85")
|
||||
heavy_crossmark=$(printf "\xE2\x9D\x8C")
|
||||
install=$(printf "\xF0\x9F\x92\xBF")
|
||||
|
||||
msleep=15
|
||||
|
||||
PID_FILE=./gunicorn.pid
|
||||
environment=$(if [[ $ENVIRONMENT ]]; then echo $ENVIRONMENT; else echo 'develop'; fi)
|
||||
if [[ $CONFIGURATION_PATH ]]; then
|
||||
@ -291,7 +293,6 @@ _determinePypiMirror(){
|
||||
done
|
||||
min_idx=$((min_idx - 1))
|
||||
|
||||
msleep=5
|
||||
printf "\n"
|
||||
printf " Which mirror you would like to use (Hit enter or wait ${msleep} seconds to use default: ${urls[$min_idx]}): "
|
||||
read -t ${msleep} -r choice
|
||||
|
Loading…
x
Reference in New Issue
Block a user