Re: rpmforge repo for centos5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Ralph Angenendt wrote:
MrKiwi wrote:
<snip>
rpmforge_version=rpmforge-release-0.3.6-1.el5.rf.i386.rpm
wget http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version
rpm -Uhv $rpmforge_version

Uhm.

Why not
rpm -Uvh http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version

directly?

Ralph


Good question - i said the same when i saw it on a site and tried to consolidate wget + rpm into a one line command.

The problem (from memory) is that rpm -Uvh blah.rpm does not handle redirections nicely (is that a return code of 302? from memory) however wget is a champ at that sort of thing.

MrKiwi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux