From 3a99670e31278f0241ce049b9ea1e84c446f7950 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 22 2012 15:14:03 +0000 Subject: Update Functions/Commons/cli_printUrl.sh --- diff --git a/Scripts/Bash/Functions/Commons/cli_printUrl.sh b/Scripts/Bash/Functions/Commons/cli_printUrl.sh index 5994d8d..533c8ba 100755 --- a/Scripts/Bash/Functions/Commons/cli_printUrl.sh +++ b/Scripts/Bash/Functions/Commons/cli_printUrl.sh @@ -53,57 +53,57 @@ function cli_printUrl { case "$1" in --home ) - URL='http://www.centos.org/' + URL="http://${DOMAINNAME_HOME}/" shift 1 ;; --lists ) - URL='http://lists.centos.org/' + URL="http://${DOMAINNAME_LISTS}/" shift 1 ;; --wiki ) - URL='http://wiki.centos.org/' + URL="http://${DOMAINNAME_WIKI}/" shift 1 ;; --forums ) - URL='http://forums.centos.org/' + URL="http://${DOMAINNAME_FORUMS}/" shift 1 ;; --bugs ) - URL='http://bugs.centos.org/' + URL="http://${DOMAINNAME_BUGS}/" shift 1 ;; --projects ) - URL='https://projects.centos.org/' + URL="https://${DOMAINNAME_PROJECTS}/" shift 1 ;; --projects-artwork ) - URL=$(cli_printUrl '--projects')svn/artwork/ + URL=${DOMAINNAME_PROJECTS}/svn/artwork/ shift 1 ;; --planet ) - URL='http://planet.centos.org/' + URL="http://${DOMAINNAME_PLANET}/" shift 1 ;; --docs ) - URL='http://docs.centos.org/' + URL="http://${DOMAINNAME_DOCS}/" shift 1 ;; --mirrors ) - URL='http://mirrors.centos.org/' + URL="http://${DOMAINNAME_MIRRORS}/" shift 1 ;; --irc ) - URL='http://www.centos.org/modules/tinycontent/index.php?id=8' + URL="http://${DOMAINNAME_HOME}/modules/tinycontent/index.php?id=8" shift 1 ;;