From f5e745e84816e4abd9c683a4b636c2d4f64f0930 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Thu, 28 Mar 2002 14:27:02 +0000 Subject: [PATCH] * added preferred_state config keyword --- pear/PEAR/Config.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pear/PEAR/Config.php b/pear/PEAR/Config.php index 68e9fa772e..8bac159a47 100644 --- a/pear/PEAR/Config.php +++ b/pear/PEAR/Config.php @@ -122,12 +122,22 @@ class PEAR_Config extends PEAR 'default' => 1, 'doc' => 'verbosity level', ), + 'preferred_state' => array( + 'type' => 'set', + 'default' => 'stable', + 'doc' => 'the installer will prefer releases with this state +when installing packages without a version or state specified', + 'valid_set' => array( + 'stable', 'beta', 'alpha', 'devel', 'snapshot'), + ), +/* 'testset1' => array( 'type' => 'set', 'default' => 'foo', 'doc' => 'test set', 'valid_set' => array('foo', 'bar'), ), +*/ ); // }}} -- 2.40.0