My remote package installer ;)
helps u when you dont want to copy urls from the Redhat RPMS directory .
It depends heavily on the links output so it maynot work always..
Didnt work for vedanta... :D
#!/bin/bash
url="http://hostname/AS3u3/RedHat/RPMS/"
package=`links --dump ${url} |grep $1 |awk '{print $3}'`
rpm -ivh ${url}$package
It depends heavily on the links output so it maynot work always..
Didnt work for vedanta... :D
#!/bin/bash
url="http://hostname/AS3u3/RedHat/RPMS/"
package=`links --dump ${url} |grep $1 |awk '{print $3}'`
rpm -ivh ${url}$package
0 Comments:
Post a Comment
<< Home