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