add title

This commit is contained in:
Tobias Powalowski 2023-07-21 11:12:10 +02:00
parent 07389be161
commit fd87ae0a95

View file

@ -41,7 +41,7 @@ _select_mirror() {
_enable_testing() {
if ! grep -q "^\[.*testing\]" /etc/pacman.conf; then
_DOTESTING=""
_dialog --title " [core-testing] And [extra-testing] " --defaultno --yesno "Do you want to enable [*-testing] repositories?\n\nOnly enable this if you need latest\navailable packages for testing purposes!" 9 50 && _DOTESTING=1
_dialog --title " Testing Repositories " --defaultno --yesno "Do you want to enable testing repositories?\n\nOnly enable this if you need latest\navailable packages for testing purposes!" 8 50 && _DOTESTING=1
if [[ -n "${_DOTESTING}" ]]; then
sed -i -e '/^#\[core-testing\]/ { n ; s/^#// }' /etc/pacman.conf
sed -i -e '/^#\[extra-testing\]/ { n ; s/^#// }' /etc/pacman.conf