Lines 23-29
Link Here
|
23 |
R_VDBPATH=`${R_PORTAGEQ} vdb_path` |
23 |
R_VDBPATH=`${R_PORTAGEQ} vdb_path` |
24 |
R_OPTION_X=0; |
24 |
R_OPTION_X=0; |
25 |
R_OPTION_C=0; |
25 |
R_OPTION_C=0; |
26 |
R_OPTION_PM="portage"; |
26 |
R_OPTION_PM="${PACKAGEMANAGER:-portage}"; |
27 |
|
27 |
|
28 |
package_valid() { |
28 |
package_valid() { |
29 |
local package=${1} |
29 |
local package=${1} |
Lines 202-207
Link Here
|
202 |
case ${R_OPTION_PM} in |
202 |
case ${R_OPTION_PM} in |
203 |
portage) emerge --ignore-default-opts --oneshot --nodeps ${tomerge[@]};; |
203 |
portage) emerge --ignore-default-opts --oneshot --nodeps ${tomerge[@]};; |
204 |
paludis) paludis --install --preserve-world --continue-on-failure if-satisfied --dl-upgrade as-needed ${tomerge[@]};; |
204 |
paludis) paludis --install --preserve-world --continue-on-failure if-satisfied --dl-upgrade as-needed ${tomerge[@]};; |
|
|
205 |
cave) cave resolve --execute --preserve-world --continue-on-failure if-satisfied --lazy ${tomerge[@]};; |
205 |
*) echo "** Unsupported package manager"; phelp; exit 1;; |
206 |
*) echo "** Unsupported package manager"; phelp; exit 1;; |
206 |
esac |
207 |
esac |
207 |
} |
208 |
} |
Lines 215-221
Link Here
|
215 |
-X - Emerge based on package names, |
216 |
-X - Emerge based on package names, |
216 |
not exact versions. |
217 |
not exact versions. |
217 |
-C - Disable all coloured output. |
218 |
-C - Disable all coloured output. |
218 |
-P foo - Specify package manager: portage(default) or paludis |
219 |
-P foo - Specify package manager: portage, paludis |
|
|
220 |
or cave (defaults to \$PACKAGE_MANAGER if |
221 |
set, portage otherwise) |
219 |
|
222 |
|
220 |
Where action is one of: |
223 |
Where action is one of: |
221 |
add - Add package to moduledb. |
224 |
add - Add package to moduledb. |