Andreas Tille pushed to branch master at Debian Blends Team / med


Commits:
0bcb1edf by Andreas Tille at 2020-11-29T22:06:14+01:00
Be sure that new UDD mirror access will be successfully

- - - - -


1 changed file:

- covid-19_doc/bio_covid-19_dependencies_query


Changes:

=====================================
covid-19_doc/bio_covid-19_dependencies_query
=====================================
@@ -36,7 +36,9 @@ fi
 # Check UDD connection
 if ! psql $PORT $SERVICE -c "" 2>/dev/null ; then
     echo "No local UDD found, use public mirror."
-    SERVICE="postgresql://udd-mirror:udd-mir...@udd-mirror.debian.net/udd"
+    export PGPASSWORD="udd-mirror"
+    SERVICE="--host=udd-mirror.debian.net --port=5432 --username=udd-mirror 
udd"
+    #SERVICE="postgresql://udd-mirror:udd-mir...@udd-mirror.debian.net/udd"
 fi
 
 while getopts "hjm" o; do
@@ -46,7 +48,9 @@ while getopts "hjm" o; do
             exit 0
             ;;
         m)
-           
SERVICE="postgresql://udd-mirror:udd-mir...@udd-mirror.debian.net/udd"
+           export PGPASSWORD="udd-mirror"
+           SERVICE="--host=udd-mirror.debian.net --port=5432 
--username=udd-mirror udd"
+           
#SERVICE="postgresql://udd-mirror:udd-mir...@udd-mirror.debian.net/udd"
            ;;
         *)
             usage



View it on GitLab: 
https://salsa.debian.org/blends-team/med/-/commit/0bcb1edffb56e4f7882829330a32f3cf0b9fa5f2

-- 
View it on GitLab: 
https://salsa.debian.org/blends-team/med/-/commit/0bcb1edffb56e4f7882829330a32f3cf0b9fa5f2
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Blends-commit mailing list
Blends-commit@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/blends-commit

Reply via email to