Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 272979
Collapse All | Expand All

(-)python-updater~ (+11 lines)
Lines 39-44 Link Here
39
SUPPORTED_PMS="portage pkgcore paludis"
39
SUPPORTED_PMS="portage pkgcore paludis"
40
PMS_COMMAND=( "emerge" "pmerge" "paludis" )
40
PMS_COMMAND=( "emerge" "pmerge" "paludis" )
41
PMS_OPTIONS=( "-vD1" "-Do" "-i1" )
41
PMS_OPTIONS=( "-vD1" "-Do" "-i1" )
42
PMS_INDEX=0
42
CUSTOM_PMS_COMMAND=""
43
CUSTOM_PMS_COMMAND=""
43
44
44
# Checks
45
# Checks
Lines 181-186 Link Here
181
    set -- ${PYUPDATER_OPTIONS} $@
182
    set -- ${PYUPDATER_OPTIONS} $@
182
fi
183
fi
183
184
185
# Respect PACKAGE_MANAGER environment variable
186
i=0
187
for pm in ${SUPPORTED_PMS}; do
188
    if [[ ${pm} = ${PACKAGE_MANAGER} ]]; then
189
	PMS_INDEX=${i}
190
	break
191
    fi
192
    ((i++))
193
done
194
184
# Command Line Parsing
195
# Command Line Parsing
185
while [[ -n "$1" ]]; do
196
while [[ -n "$1" ]]; do
186
    case "$1" in
197
    case "$1" in

Return to bug 272979