
#NotRoot="ERROR:  NEM vagy Rendszer-administrator/You are not root!. Ez a helper csak Root[admin] jogokkal fut!"
#if [ "$UID" != 0 ];then echo "$NotRoot" ; sleep 6 && exit ;fi

VERSION=$(lsb_release -rs | sed 's|\..*|.x|')
if [ ! -n "$VERSION" ];then echo "HIBA: Verzió nem érhető el:(" ; sleep 6 && exit ;fi
echo "blackPanther OS verzió: $VERSION"
#--connect-timeout 5 --max-time 30
curl -q --retry 1 --retry-max-time 120 https://ftp.linux.cz/pub/linux/blackpantheros/All/v$VERSION/64bit/updates/repodata/repomd -o /tmp/test
if [ $? -eq 0 ]; then
    echo "Request was successful"
fi

