Add edit pacman.conf to menu

This commit is contained in:
Jesús 2021-08-27 21:12:14 -05:00
parent b04d75063f
commit cad7f1bee5
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
17 changed files with 28 additions and 1 deletions

11
hyperfi
View File

@ -738,6 +738,7 @@ installmenu(){
options=()
options+=("${txtselectmirrorsbycountry}" "(${txtoptional})")
options+=("${txteditmirrorlist}" "(${txtoptional})")
options+=("${txteditpacmanconf}" "(${txtoptional})")
options+=("${txtinstallhyperbola}" "pacstrap")
options+=("${txtconfighyperbola}" "")
sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallmenu}" --menu "" --cancel-button "${txtunmount}" --default-item "${nextitem}" 0 0 0 \
@ -753,6 +754,10 @@ installmenu(){
${EDITOR} /etc/pacman.d/mirrorlist
nextitem="${txtinstallhyperbola}"
;;
"${txteditpacmanconf}")
${EDITOR} /etc/pacman.conf
nextitem="${txtinstallhyperbola}"
;;
"${txtinstallhyperbola}")
if(installbase); then
nextitem="${txtconfighyperbola}"
@ -922,6 +927,7 @@ archmenu(){
options+=("${txtedit//%1/crypttab}" "(${txtoptional})")
options+=("${txtedit//%1/mkinitcpio.conf}" "(${txtoptional})")
options+=("${txtedit//%1/mirrorlist}" "(${txtoptional})")
options+=("${txtedit//%1/pacman.conf}" "(${txtoptional})")
options+=("${txtbootloader}" "")
options+=("${txtextrasmenu}" "")
options+=("hyperdi" "${txthyperdidesc}")
@ -1010,6 +1016,10 @@ archmenu(){
${EDITOR} /mnt/etc/pacman.d/mirrorlist
nextitem="${txtedit//%1/mirrorlist}"
;;
"${txtedit//%1/pacman.conf}")
${EDITOR} /mnt/etc/pacman.d/pacman.conf
nextitem="${txtedit//%1/pacman.conf}"
;;
"${txtbootloader}")
archbootloadermenu
nextitem="${txtextrasmenu}"
@ -1785,6 +1795,7 @@ loadstrings(){
txtselectmirrorsbycountry="Select mirrors by country"
txtselectcountry="Select country"
txteditmirrorlist="Edit mirrorlist"
txteditpacmanconf="Edit pacman.conf"
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre"
txtinstallhyperbolakernel="Kernel"
txtinstallhyperbolafirmwares="Firmwares"

View File

@ -61,6 +61,7 @@ txtinstallmenu="قائمة التثبيت"
txthyperbolainstallmenu="قائمة تثبيت آرتش لينكس"
txteditmirrorlist="تعديل قائمة المرآة"
txteditpacmanconf="تحرير بكمن"
txtinstallhyperbola="تثبيت آرتش لينكس"
txtinstallfirmware="تثبيت البرامج الثابتة"
txtconfighyperbola="تعديل آرتش لينكس"

View File

@ -60,6 +60,7 @@ txthyperbolainstallmenu="Menu de Instalação do Hyperbola"
txtrungrubmakeconfig="Executar grub-mkconfig ?"
txteditmirrorlist="Editar mirrorlist"
txteditpacmanconf="Editar pacman.conf"
txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre"
txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre"

View File

@ -60,6 +60,7 @@ txthyperbolainstallmenu="Hyperbola安装菜单"
txtrungrubmakeconfig="运行grub-mkconfig?"
txteditmirrorlist="编辑源列表"
txteditpacmanconf="編輯 pacman.conf"
txtinstallhyperbola="安装Hyperbola GNU+Linux-libre"
txtconfighyperbola="配置Hyperbola GNU+Linux-libre"

View File

@ -60,6 +60,7 @@ txthyperbolainstallmenu="Hyperbola installatie menu"
txtrungrubmakeconfig="grub-mkconfig uitvoeren?"
txteditmirrorlist="Wijzig mirrorlijst?"
txteditpacmanconf="Bewerking pacman.conf"
txtinstallhyperbola="Installeer Hyperbola GNU+Linux-libre"
txtconfighyperbola="Configureer Hyperbola GNU+Linux-libre"

View File

@ -61,6 +61,7 @@ txthyperbolainstallmenu="Hyperbola Install Menu"
txtselectmirrorsbycountry="Select mirrors by country"
txtselectcountry="Select country"
txteditmirrorlist="Edit mirrorlist"
txteditpacmanconf="Edit pacman.conf"
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre"
txtinstallhyperbolakernel="Kernel"
txtinstallhyperbolafirmwares="Firmwares"

View File

@ -61,6 +61,7 @@ txthyperbolainstallmenu="Menu Installation Hyperbola GNU+Linux-libre"
txtselectmirrorsbycountry="Mirroir par pays"
txtselectcountry="Sélectionner pays"
txteditmirrorlist="Éditer mirrorlist"
txteditpacmanconf="Editer pacman.conf"
txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre"
txtinstallhyperbolakernel="Noyau"
txtinstallhyperbolafirmwares="Firmwares"

View File

@ -60,6 +60,7 @@ txthyperbolainstallmenu="Hyperbola Installationsmenü"
txtrungrubmakeconfig="grub-mkconfig ausführen?"
txteditmirrorlist="Spiegelserver-Liste editieren"
txteditpacmanconf="Bearbeiten pacman.conf"
txtinstallhyperbola="Hyperbola GNU+Linux-libre installieren"
txtconfighyperbola="Hyperbola GNU+Linux-libre konfigurieren"

View File

@ -59,6 +59,7 @@ txthyperbolainstallmenu="Μενού εγκατάστασης Hyperbola"
txtselectmirrorsbycountry="Επιλογή καθρεπτών βάσει χώρας"
txteditmirrorlist="Επεξεργασία λίστας καθρεπτών"
txteditpacmanconf="Επεξεργασία pacman.conf"
txtinstallhyperbola="Εγκατάσταση Hyperbola GNU+Linux-libre"
txtinstallfirmware="Εγκατάσταση Firmware"
txtconfighyperbola="Παραμετροποίηση Hyperbola GNU+Linux-libre"

View File

@ -59,7 +59,8 @@ txtinstallmenu="Telepítő menü"
txthyperbolainstallmenu="Hyperbola Telepítő menü"
txtrungrubmakeconfig="grub-mkconfig futtatása ?"
txteditmirrorlist="Edit mirrorlist"
txteditmirrorlist="Szerkesztés mirrorlist"
txteditpacmanconf="Szerkesztés pacman.conf"
txtinstallhyperbola="Hyperbola GNU+Linux-libre telepítés"
txtconfighyperbola="Hyperbola GNU+Linux-libre beállítások"

View File

@ -59,6 +59,7 @@ txthyperbolainstallmenu="Menu di installazione di Hyperbola"
txtrungrubmakeconfig="Eseguire grub-mkconfig ?"
txteditmirrorlist="Modifica mirrorlist"
txteditpacmanconf="Modifica pacman.conf"
txtinstallhyperbola="Installa Hyperbola GNU+Linux-libre"
txtconfighyperbola="Configura Hyperbola GNU+Linux-libre"

View File

@ -59,6 +59,7 @@ txtinstallmenu="Installeringsmeny"
txthyperbolainstallmenu="Hyperbola Installeringsmeny"
txteditmirrorlist="Rediger Speillisten"
txteditpacmanconf="Rediger pacman.conf"
txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre"
txtconfighyperbola="Configurer Hyperbola GNU+Linux-libre"

View File

@ -60,6 +60,7 @@ txthyperbolainstallmenu="Menu instalacji Hyperbola'a"
txtrungrubmakeconfig="Uruchomić grub-mkconfig ?"
txteditmirrorlist="Edytuj listę mirrorów"
txteditpacmanconf="Edytuj pacman.conf"
txtinstallhyperbola="Zainstaluj Hyperbola Linuksa"
txtconfighyperbola="Skonfiguruj Hyperbola Linuksa"

View File

@ -59,6 +59,7 @@ txtinstallmenu="Menu de Instalação"
txthyperbolainstallmenu="Menu de Instalação do Hyperbola"
txteditmirrorlist="Editar lista de espelhos"
txteditpacmanconf="Editar pacman.conf"
txtinstallhyperbola="Instalar o Hyperbola GNU+Linux-libre"
txtinstallfirmware="Instalar o Firmware"
txtconfighyperbola="Configurar o Hyperbola GNU+Linux-libre"

View File

@ -60,6 +60,7 @@ txthyperbolainstallmenu="Меню настройки Hyperbola GNU+Linux-libre"
txtrungrubmakeconfig="Создать grub-mkconfig ?"
txteditmirrorlist="Редактор mirrorlist"
txteditpacmanconf="Редактор pacman.conf"
txtinstallhyperbola="Установка Hyperbola GNU+Linux-libre"
txtconfighyperbola="Настройка Hyperbola GNU+Linux-libre"

View File

@ -60,6 +60,7 @@ txthyperbolainstallmenu="Menú de instalación de Hyperbola"
txtrungrubmakeconfig="¿ Ejecutar grub-mkconfig ?"
txteditmirrorlist="Editar mirrorlist"
txteditpacmanconf="Editar pacman.conf"
txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre"
txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre"

View File

@ -59,6 +59,7 @@ txtinstallmenu="Kurulum Menüsü"
txthyperbolainstallmenu="Hyperbola Kurulum Menüsü"
txteditmirrorlist="Sunucu yansı listesini düzenle"
txteditpacmanconf="Sunucu yansı pacman.conf"
txtinstallhyperbola="Hyperbola GNU+Linux-libre Kur"
txtconfighyperbola="Hyperbola GNU+Linux-libre Ayalar"