$(TOPDIR), make, scripts: Ftp.jannet.de / ftp.janware.com -> pkg.janware.com

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-12-16 16:11:11 +00:00
commit f4efde3377
11 changed files with 61 additions and 76 deletions

View file

@ -155,32 +155,32 @@ get_opts $*
case $cmd in
init)
if ! channel_present ftp.jannet.de; then
if ! channel_present jw-foss; then
echo -n "adding installation source ... "
sudo smart channel -y --add ftp.jannet.de \
sudo smart channel -y --add jw-foss \
type=yast2 \
baseurl=ftp://dspadm:dspasswd@ftp.jannet.de/pub/packages/linux/suse/10.1 \
baseurl=https://pkg:we0rntj3p@janware.com/files/packages/jw-foss/suse/tumbleweed?auth=basic&credentials=jannet.cat \
>/dev/null 2>&1
if channel_present; then echo done; else echo failed; fi
fi
;;
uninit)
if channel_present ftp.jannet.de; then
if channel_present jw-foss; then
echo -n "removing installation source ... "
sudo smart channel -y --remove ftp.jannet.de >/dev/null 2>&1
sudo smart channel -y --remove jw-foss >/dev/null 2>&1
echo done
fi
;;
update)
sudo smart update ftp.jannet.de
sudo smart update jw-foss
sudo smart upgrade -y
check_ldconfig
;;
install)
sudo smart update ftp.jannet.de
sudo smart update jw-foss
if [ -f $1 ]; then
sudo smart install -y `cat $1`
else
@ -202,11 +202,6 @@ info)
list_all_packages | xargs rpm -q
fi
;;
cpp-glib)
sudo rpm -U --replacefiles --replacepkgs --oldpackage \
ftp://dspadm@ftp.jannet.de/pub/packages/linux/suse/10.1/rpm/i586/glib2-2.8.5-19.i586.rpm
check_ldconfig
;;
rpmnew)
cmd_rpmnew $@
;;