public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] eselect r500 - trunk/libs
@ 2009-04-24 20:24 Piotr Jaroszynski (peper)
  0 siblings, 0 replies; only message in thread
From: Piotr Jaroszynski (peper) @ 2009-04-24 20:24 UTC (permalink / raw
  To: gentoo-commits

Author: peper
Date: 2009-04-24 20:24:31 +0000 (Fri, 24 Apr 2009)
New Revision: 500

Modified:
   trunk/libs/package-manager.bash.in
Log:
Prefer paludis for now as portage is always installed.

Modified: trunk/libs/package-manager.bash.in
===================================================================
--- trunk/libs/package-manager.bash.in	2009-04-23 20:01:27 UTC (rev 499)
+++ trunk/libs/package-manager.bash.in	2009-04-24 20:24:31 UTC (rev 500)
@@ -162,15 +162,13 @@
         return
     fi
 
-    # Try Portage first, since it is Gentoo's official package manager
+    # Prefer paludis for now as portage is always installed
     # TODO: Add an option to make it selectable by the user
     # TODO: Support Pkgcore
-    if [[ -x @PORTAGEQ@ ]] ; then
-        manager="portage"
-    elif $(paludis_command) --list-repositories &>/dev/null ; then
+    if $(paludis_command) --list-repositories &> /dev/null ; then
         manager="paludis"
     else
-        die "No package manager found"
+        manager="portage"
     fi
 
     echo ${manager}




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-24 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-24 20:24 [gentoo-commits] eselect r500 - trunk/libs Piotr Jaroszynski (peper)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox