common: use HTTPS where working.

This commit is contained in:
mhmdanas 2023-02-24 21:42:23 +00:00 committed by Đoàn Trần Công Danh
parent 2efefc52b0
commit 0fa47e5979
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ SOURCEFORGE_SITE="https://downloads.sourceforge.net/sourceforge"
NONGNU_SITE="https://download.savannah.nongnu.org/releases"
UBUNTU_SITE="http://archive.ubuntu.com/ubuntu/pool"
XORG_SITE="https://www.x.org/releases/individual"
DEBIAN_SITE="http://ftp.debian.org/debian/pool"
DEBIAN_SITE="https://ftp.debian.org/debian/pool"
GNOME_SITE="https://download.gnome.org/sources"
KERNEL_SITE="https://www.kernel.org/pub/linux"
CPAN_SITE="https://www.cpan.org/modules/by-module"

View File

@ -116,7 +116,7 @@ update_check() {
pkgurlname="$(printf %s "$url" | cut -d/ -f5)"
url="https://sourceforge.net/projects/$pkgurlname/rss?limit=200";;
*code.google.com*|*googlecode*)
url="http://code.google.com/p/$pkgname/downloads/list";;
url="https://code.google.com/p/$pkgname/downloads/list";;
*launchpad.net*)
pkgurlname="$(printf %s "$url" | cut -d/ -f4)"
url="https://launchpad.net/$pkgurlname/+download";;