summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-08-15 12:40:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-08-15 12:40:50 +0000
commitdf48b63b1572cbc777b5d7363ae5bd054a00e015 (patch)
tree54c7bdeb1d8aa37594313004e99b110f454283df
parentUpdating. (diff)
downloadpackages-df48b63b1572cbc777b5d7363ae5bd054a00e015.tar.xz
packages-df48b63b1572cbc777b5d7363ae5bd054a00e015.zip
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xBFH-check-missing-builds.sh15
1 files changed, 11 insertions, 4 deletions
diff --git a/BFH-check-missing-builds.sh b/BFH-check-missing-builds.sh
index 8103013..3a10153 100755
--- a/BFH-check-missing-builds.sh
+++ b/BFH-check-missing-builds.sh
@@ -2,10 +2,17 @@
set -e
-echo -n "User: "
-read USER
-echo -n "Password: "
-read -s PASSWORD
+if [ -z "${USER}" ]
+then
+ echo -n "User: "
+ read USER
+fi
+
+if [ -z "${PASSWORD}" ]
+then
+ echo -n "Password: "
+ read -s PASSWORD
+fi
DISTRIBUTION="buster"
DISTRIBUTION="buster-backports"