Re: Firefox-2.0.0.3 vs FC6?

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

 



Ed Greshko <Ed.Greshko <at> greshko.com> writes:
> Chris Jones wrote:
> > In which case you set up yum to *only* take firefox from Remi's repo, 
> > and nothing else. Problem solved.
> 
> Right, sure, yes.....explain that to the clueless.

su -
rpm -Uvh \
http://remi.collet.free.fr/rpms/fc6.i386/remi-release-1-2.fc6.remi.noarch.rpm
head -n 7 /etc/yum.repos.d/remi.repo >/etc/yum.repos.d/remi.repo.new
sed -i -e 's/enabled=[01]/enabled=1/g' /etc/yum.repos.d/remi.repo.new
echo 'includepkgs=firefox devhelp epiphany galeon gnome-python2-gtkmozembed '\
'gtkmozembedmm liferea yelp' >>/etc/yum.repos.d/remi.repo.new
tail -n +8 /etc/yum.repos.d/remi.repo >>/etc/yum.repos.d/remi.repo.new
echo 'includepkgs=firefox devhelp epiphany galeon gnome-python2-gtkmozembed '\
'gtkmozembedmm liferea yelp' >>/etc/yum.repos.d/remi.repo.new
mv -f /etc/yum.repos.d/remi.repo.new /etc/yum.repos.d/remi.repo

This should be ready for copy&paste. :-) What this does:
* installs remi-release
* copies the [remi] (not [remi-test]) part of remi.repo to remi.repo.new
* enables the repo
* adds the includepkgs directive
* appends the info for [remi-test], disabled by default
* adds the includepkgs directive there too
* moves the result back to remi.repo

        Kevin Kofler


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux