mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-16 04:23:31 +01:00
$(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:
parent
e984d011c5
commit
f4efde3377
11 changed files with 61 additions and 76 deletions
|
|
@ -353,47 +353,44 @@ shift
|
|||
|
||||
case $cmd in
|
||||
|
||||
init)
|
||||
if ! channel_present ftp.jannet.de; then
|
||||
echo -n "adding installation source ... "
|
||||
sudo smart channel -y --add ftp.jannet.de \
|
||||
type=yast2 \
|
||||
baseurl=ftp://dspadm:dspasswd@ftp.jannet.de/pub/packages/linux/suse/10.1 \
|
||||
>/dev/null 2>&1
|
||||
if channel_present; then echo done; else echo failed; fi
|
||||
fi
|
||||
;;
|
||||
|
||||
uninit)
|
||||
if channel_present ftp.jannet.de; then
|
||||
echo -n "removing installation source ... "
|
||||
sudo smart channel -y --remove ftp.jannet.de >/dev/null 2>&1
|
||||
echo done
|
||||
fi
|
||||
;;
|
||||
|
||||
update)
|
||||
sudo smart update ftp.jannet.de
|
||||
sudo smart upgrade -y
|
||||
check_ldconfig
|
||||
;;
|
||||
|
||||
install)
|
||||
sudo smart update ftp.jannet.de
|
||||
if [ -f $1 ]; then
|
||||
sudo smart install -y `cat $1`
|
||||
else
|
||||
sudo smart install -y $*
|
||||
fi
|
||||
check_ldconfig
|
||||
;;
|
||||
restore)
|
||||
echo "not yet implemented, sorry" >&2
|
||||
;;
|
||||
checklog)
|
||||
line=`jannet info | tr -s " "`
|
||||
echo $line
|
||||
;;
|
||||
# -- TODO: re-implement this using pkg-manager.sh, or integrate with pkg-manager.sh
|
||||
#init)
|
||||
# if ! channel_present ftp.jannet.de; then
|
||||
# echo -n "adding installation source ... "
|
||||
# sudo smart channel -y --add ftp.jannet.de \
|
||||
# type=yast2 \
|
||||
# baseurl=ftp://dspadm:dspasswd@ftp.jannet.de/pub/packages/linux/suse/10.1 \
|
||||
# >/dev/null 2>&1
|
||||
# if channel_present; then echo done; else echo failed; fi
|
||||
# fi
|
||||
# ;;
|
||||
#
|
||||
#uninit)
|
||||
# if channel_present ftp.jannet.de; then
|
||||
# echo -n "removing installation source ... "
|
||||
# sudo smart channel -y --remove ftp.jannet.de >/dev/null 2>&1
|
||||
# echo done
|
||||
# fi
|
||||
# ;;
|
||||
#
|
||||
#update)
|
||||
# sudo smart update ftp.jannet.de
|
||||
# sudo smart upgrade -y
|
||||
# check_ldconfig
|
||||
# ;;
|
||||
#
|
||||
#install)
|
||||
# sudo smart update ftp.jannet.de
|
||||
# if [ -f $1 ]; then
|
||||
# sudo smart install -y `cat $1`
|
||||
# else
|
||||
# sudo smart install -y $*
|
||||
# fi
|
||||
# check_ldconfig
|
||||
# ;;
|
||||
#restore)
|
||||
# echo "not yet implemented, sorry" >&2
|
||||
# ;;
|
||||
list)
|
||||
if [ "$opt_verbose" = true ]; then
|
||||
list_packages "$@" | xargs -r rpm -qi
|
||||
|
|
@ -404,11 +401,6 @@ list)
|
|||
list_projects)
|
||||
list_projects "$@"
|
||||
;;
|
||||
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 "$@"
|
||||
;;
|
||||
compile_templates|list_templates|list_template_tables|list_template_output|rm_template_output|diff|build_date|built_today|rpmnew)
|
||||
cmd_$cmd "$@"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue