Commit 57dd6209 authored by Vitaly Lipatov's avatar Vitaly Lipatov

update_versions.sh: add --slow support (make a pause between downloads)

parent f90394c6
...@@ -65,6 +65,11 @@ if [ "$1" = "--force" ] ; then ...@@ -65,6 +65,11 @@ if [ "$1" = "--force" ] ; then
shift shift
fi fi
if [ "$1" = "--slow" ] ; then
slow="60"
shift
fi
if [ -n "$1" ] ; then if [ -n "$1" ] ; then
install_app_alt "$1" install_app_alt "$1"
exit exit
...@@ -76,6 +81,7 @@ $EPM play $playopt --list-all --short | while read app ; do ...@@ -76,6 +81,7 @@ $EPM play $playopt --list-all --short | while read app ; do
# hack for broken gitlab-runner # hack for broken gitlab-runner
[ "$distr" != "alt" ] && [ "$app" = "gitlab-runner" ] && continue [ "$distr" != "alt" ] && [ "$app" = "gitlab-runner" ] && continue
install_app_alt $app </dev/null install_app_alt $app </dev/null
[ -n "$show" ] && sleep $slow
done done
# save eepm version # save eepm version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment