Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 869237 Details for
Bug 913480
app-admin/eselect: eselect profile: suppress --force warning for exp profiles if already on an exp profile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for profile.eselect
profile.eselect.diff (text/plain), 1.01 KB, created by
Ulrich Müller
on 2023-09-02 16:34:52 UTC
(
hide
)
Description:
Patch for profile.eselect
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2023-09-02 16:34:52 UTC
Size:
1.01 KB
patch
obsolete
>diff --git a/modules/profile.eselect b/modules/profile.eselect >index f33f8d1..18aeccf 100644 >--- a/modules/profile.eselect >+++ b/modules/profile.eselect >@@ -87,12 +87,18 @@ set_symlink() { > repo=${target%%::*}; target=${target#*::} > repopath=${target%%::*}; target=${target#*::} > status=${target#*::}; status=${status%%::*} > target=${target%%::*} > if [[ ${status} == exp && -z ${force} ]]; then >- write_error_msg "Profile ${target} is experimental" >- die -q "Refusing to select ${status} profile without --force option" >+ # are any non-experimental targets available? >+ local t >+ for t in "${targets[@]#*::*::*::}"; do >+ [[ ${t%%::*} == exp ]] && continue >+ write_error_msg "Profile ${target} is experimental" >+ die -q "Refusing to select exp profile without --force option" >+ done >+ write_warning_msg "Profile ${target} is experimental" > fi > elif [[ -n ${target} ]]; then > # if the profile was explicitly specified (rather than a number) > # double check and make sure it's valid > arch=$(arch)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 913480
: 869237