mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix testing detection
This commit is contained in:
parent
d6c19451b7
commit
e5c42bc2aa
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ _select_mirror() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_enable_testing() {
|
_enable_testing() {
|
||||||
if ! grep -q "^\[testing\]" /etc/pacman.conf; then
|
if ! grep -q "^\[.*testing\]" /etc/pacman.conf; then
|
||||||
_DOTESTING=""
|
_DOTESTING=""
|
||||||
_dialog --defaultno --yesno "Do you want to enable [core-testing]\nand [extra-testing] repositories?\n\nOnly enable this if you need latest\navailable packages for testing purposes!" 9 50 && _DOTESTING=1
|
_dialog --defaultno --yesno "Do you want to enable [core-testing]\nand [extra-testing] repositories?\n\nOnly enable this if you need latest\navailable packages for testing purposes!" 9 50 && _DOTESTING=1
|
||||||
if [[ -n "${_DOTESTING}" ]]; then
|
if [[ -n "${_DOTESTING}" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue