#!/bin/bash

	AY_SERVER="https://smt.campuslan.de"	

	# copy this file if newer
#	cd /usr/local/ncif
#	wget -N $AY_SERVER/scripts/copy-tools.sh

	# copy anything located in /autoyast/campusLan if newer
	if [ ! -d /tmp/tools ]; then
	   mkdir -p /tmp/tools
	fi

	cd /tmp/tools
	wget --cut-dir=2 -np -nH -r -N -R "index.html*" $AY_SERVER/repo/tools/

        rpm -i hwloc-data-2.9.0-150400.3.6.1.noarch.rpm
        rpm -i libhwloc15-2.9.0-150400.3.6.1.x86_64.rpm

        rpm -i mc-4.8.27-bp154.1.50.x86_64.rpm mc-lang-4.8.27-bp154.1.50.noarch.rpm
        rpm -i htop-3.0.5-bp154.1.30.x86_64.rpm
        

exit 0
