Add edit pacman.conf to menu
This commit is contained in:
parent
b04d75063f
commit
cad7f1bee5
11
hyperfi
11
hyperfi
@ -738,6 +738,7 @@ installmenu(){
|
|||||||
options=()
|
options=()
|
||||||
options+=("${txtselectmirrorsbycountry}" "(${txtoptional})")
|
options+=("${txtselectmirrorsbycountry}" "(${txtoptional})")
|
||||||
options+=("${txteditmirrorlist}" "(${txtoptional})")
|
options+=("${txteditmirrorlist}" "(${txtoptional})")
|
||||||
|
options+=("${txteditpacmanconf}" "(${txtoptional})")
|
||||||
options+=("${txtinstallhyperbola}" "pacstrap")
|
options+=("${txtinstallhyperbola}" "pacstrap")
|
||||||
options+=("${txtconfighyperbola}" "")
|
options+=("${txtconfighyperbola}" "")
|
||||||
sel=$(whiptail --backtitle "${apptitle}" --title "${txtinstallmenu}" --menu "" --cancel-button "${txtunmount}" --default-item "${nextitem}" 0 0 0 \
|
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
|
${EDITOR} /etc/pacman.d/mirrorlist
|
||||||
nextitem="${txtinstallhyperbola}"
|
nextitem="${txtinstallhyperbola}"
|
||||||
;;
|
;;
|
||||||
|
"${txteditpacmanconf}")
|
||||||
|
${EDITOR} /etc/pacman.conf
|
||||||
|
nextitem="${txtinstallhyperbola}"
|
||||||
|
;;
|
||||||
"${txtinstallhyperbola}")
|
"${txtinstallhyperbola}")
|
||||||
if(installbase); then
|
if(installbase); then
|
||||||
nextitem="${txtconfighyperbola}"
|
nextitem="${txtconfighyperbola}"
|
||||||
@ -922,6 +927,7 @@ archmenu(){
|
|||||||
options+=("${txtedit//%1/crypttab}" "(${txtoptional})")
|
options+=("${txtedit//%1/crypttab}" "(${txtoptional})")
|
||||||
options+=("${txtedit//%1/mkinitcpio.conf}" "(${txtoptional})")
|
options+=("${txtedit//%1/mkinitcpio.conf}" "(${txtoptional})")
|
||||||
options+=("${txtedit//%1/mirrorlist}" "(${txtoptional})")
|
options+=("${txtedit//%1/mirrorlist}" "(${txtoptional})")
|
||||||
|
options+=("${txtedit//%1/pacman.conf}" "(${txtoptional})")
|
||||||
options+=("${txtbootloader}" "")
|
options+=("${txtbootloader}" "")
|
||||||
options+=("${txtextrasmenu}" "")
|
options+=("${txtextrasmenu}" "")
|
||||||
options+=("hyperdi" "${txthyperdidesc}")
|
options+=("hyperdi" "${txthyperdidesc}")
|
||||||
@ -1010,6 +1016,10 @@ archmenu(){
|
|||||||
${EDITOR} /mnt/etc/pacman.d/mirrorlist
|
${EDITOR} /mnt/etc/pacman.d/mirrorlist
|
||||||
nextitem="${txtedit//%1/mirrorlist}"
|
nextitem="${txtedit//%1/mirrorlist}"
|
||||||
;;
|
;;
|
||||||
|
"${txtedit//%1/pacman.conf}")
|
||||||
|
${EDITOR} /mnt/etc/pacman.d/pacman.conf
|
||||||
|
nextitem="${txtedit//%1/pacman.conf}"
|
||||||
|
;;
|
||||||
"${txtbootloader}")
|
"${txtbootloader}")
|
||||||
archbootloadermenu
|
archbootloadermenu
|
||||||
nextitem="${txtextrasmenu}"
|
nextitem="${txtextrasmenu}"
|
||||||
@ -1785,6 +1795,7 @@ loadstrings(){
|
|||||||
txtselectmirrorsbycountry="Select mirrors by country"
|
txtselectmirrorsbycountry="Select mirrors by country"
|
||||||
txtselectcountry="Select country"
|
txtselectcountry="Select country"
|
||||||
txteditmirrorlist="Edit mirrorlist"
|
txteditmirrorlist="Edit mirrorlist"
|
||||||
|
txteditpacmanconf="Edit pacman.conf"
|
||||||
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre"
|
||||||
txtinstallhyperbolakernel="Kernel"
|
txtinstallhyperbolakernel="Kernel"
|
||||||
txtinstallhyperbolafirmwares="Firmwares"
|
txtinstallhyperbolafirmwares="Firmwares"
|
||||||
|
@ -61,6 +61,7 @@ txtinstallmenu="قائمة التثبيت"
|
|||||||
txthyperbolainstallmenu="قائمة تثبيت آرتش لينكس"
|
txthyperbolainstallmenu="قائمة تثبيت آرتش لينكس"
|
||||||
|
|
||||||
txteditmirrorlist="تعديل قائمة المرآة"
|
txteditmirrorlist="تعديل قائمة المرآة"
|
||||||
|
txteditpacmanconf="تحرير بكمن"
|
||||||
txtinstallhyperbola="تثبيت آرتش لينكس"
|
txtinstallhyperbola="تثبيت آرتش لينكس"
|
||||||
txtinstallfirmware="تثبيت البرامج الثابتة"
|
txtinstallfirmware="تثبيت البرامج الثابتة"
|
||||||
txtconfighyperbola="تعديل آرتش لينكس"
|
txtconfighyperbola="تعديل آرتش لينكس"
|
||||||
|
@ -60,6 +60,7 @@ txthyperbolainstallmenu="Menu de Instalação do Hyperbola"
|
|||||||
txtrungrubmakeconfig="Executar grub-mkconfig ?"
|
txtrungrubmakeconfig="Executar grub-mkconfig ?"
|
||||||
|
|
||||||
txteditmirrorlist="Editar mirrorlist"
|
txteditmirrorlist="Editar mirrorlist"
|
||||||
|
txteditpacmanconf="Editar pacman.conf"
|
||||||
txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre"
|
||||||
txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre"
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ txthyperbolainstallmenu="Hyperbola安装菜单"
|
|||||||
txtrungrubmakeconfig="运行grub-mkconfig?"
|
txtrungrubmakeconfig="运行grub-mkconfig?"
|
||||||
|
|
||||||
txteditmirrorlist="编辑源列表"
|
txteditmirrorlist="编辑源列表"
|
||||||
|
txteditpacmanconf="編輯 pacman.conf"
|
||||||
txtinstallhyperbola="安装Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="安装Hyperbola GNU+Linux-libre"
|
||||||
txtconfighyperbola="配置Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="配置Hyperbola GNU+Linux-libre"
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ txthyperbolainstallmenu="Hyperbola installatie menu"
|
|||||||
txtrungrubmakeconfig="grub-mkconfig uitvoeren?"
|
txtrungrubmakeconfig="grub-mkconfig uitvoeren?"
|
||||||
|
|
||||||
txteditmirrorlist="Wijzig mirrorlijst?"
|
txteditmirrorlist="Wijzig mirrorlijst?"
|
||||||
|
txteditpacmanconf="Bewerking pacman.conf"
|
||||||
txtinstallhyperbola="Installeer Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Installeer Hyperbola GNU+Linux-libre"
|
||||||
txtconfighyperbola="Configureer Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="Configureer Hyperbola GNU+Linux-libre"
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ txthyperbolainstallmenu="Hyperbola Install Menu"
|
|||||||
txtselectmirrorsbycountry="Select mirrors by country"
|
txtselectmirrorsbycountry="Select mirrors by country"
|
||||||
txtselectcountry="Select country"
|
txtselectcountry="Select country"
|
||||||
txteditmirrorlist="Edit mirrorlist"
|
txteditmirrorlist="Edit mirrorlist"
|
||||||
|
txteditpacmanconf="Edit pacman.conf"
|
||||||
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Install Hyperbola GNU+Linux-libre"
|
||||||
txtinstallhyperbolakernel="Kernel"
|
txtinstallhyperbolakernel="Kernel"
|
||||||
txtinstallhyperbolafirmwares="Firmwares"
|
txtinstallhyperbolafirmwares="Firmwares"
|
||||||
|
@ -61,6 +61,7 @@ txthyperbolainstallmenu="Menu Installation Hyperbola GNU+Linux-libre"
|
|||||||
txtselectmirrorsbycountry="Mirroir par pays"
|
txtselectmirrorsbycountry="Mirroir par pays"
|
||||||
txtselectcountry="Sélectionner pays"
|
txtselectcountry="Sélectionner pays"
|
||||||
txteditmirrorlist="Éditer mirrorlist"
|
txteditmirrorlist="Éditer mirrorlist"
|
||||||
|
txteditpacmanconf="Editer pacman.conf"
|
||||||
txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre"
|
||||||
txtinstallhyperbolakernel="Noyau"
|
txtinstallhyperbolakernel="Noyau"
|
||||||
txtinstallhyperbolafirmwares="Firmwares"
|
txtinstallhyperbolafirmwares="Firmwares"
|
||||||
|
@ -60,6 +60,7 @@ txthyperbolainstallmenu="Hyperbola Installationsmenü"
|
|||||||
txtrungrubmakeconfig="grub-mkconfig ausführen?"
|
txtrungrubmakeconfig="grub-mkconfig ausführen?"
|
||||||
|
|
||||||
txteditmirrorlist="Spiegelserver-Liste editieren"
|
txteditmirrorlist="Spiegelserver-Liste editieren"
|
||||||
|
txteditpacmanconf="Bearbeiten pacman.conf"
|
||||||
txtinstallhyperbola="Hyperbola GNU+Linux-libre installieren"
|
txtinstallhyperbola="Hyperbola GNU+Linux-libre installieren"
|
||||||
txtconfighyperbola="Hyperbola GNU+Linux-libre konfigurieren"
|
txtconfighyperbola="Hyperbola GNU+Linux-libre konfigurieren"
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ txthyperbolainstallmenu="Μενού εγκατάστασης Hyperbola"
|
|||||||
|
|
||||||
txtselectmirrorsbycountry="Επιλογή καθρεπτών βάσει χώρας"
|
txtselectmirrorsbycountry="Επιλογή καθρεπτών βάσει χώρας"
|
||||||
txteditmirrorlist="Επεξεργασία λίστας καθρεπτών"
|
txteditmirrorlist="Επεξεργασία λίστας καθρεπτών"
|
||||||
|
txteditpacmanconf="Επεξεργασία pacman.conf"
|
||||||
txtinstallhyperbola="Εγκατάσταση Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Εγκατάσταση Hyperbola GNU+Linux-libre"
|
||||||
txtinstallfirmware="Εγκατάσταση Firmware"
|
txtinstallfirmware="Εγκατάσταση Firmware"
|
||||||
txtconfighyperbola="Παραμετροποίηση Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="Παραμετροποίηση Hyperbola GNU+Linux-libre"
|
||||||
|
@ -59,7 +59,8 @@ txtinstallmenu="Telepítő menü"
|
|||||||
txthyperbolainstallmenu="Hyperbola Telepítő menü"
|
txthyperbolainstallmenu="Hyperbola Telepítő menü"
|
||||||
txtrungrubmakeconfig="grub-mkconfig futtatása ?"
|
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"
|
txtinstallhyperbola="Hyperbola GNU+Linux-libre telepítés"
|
||||||
txtconfighyperbola="Hyperbola GNU+Linux-libre beállítások"
|
txtconfighyperbola="Hyperbola GNU+Linux-libre beállítások"
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ txthyperbolainstallmenu="Menu di installazione di Hyperbola"
|
|||||||
txtrungrubmakeconfig="Eseguire grub-mkconfig ?"
|
txtrungrubmakeconfig="Eseguire grub-mkconfig ?"
|
||||||
|
|
||||||
txteditmirrorlist="Modifica mirrorlist"
|
txteditmirrorlist="Modifica mirrorlist"
|
||||||
|
txteditpacmanconf="Modifica pacman.conf"
|
||||||
txtinstallhyperbola="Installa Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Installa Hyperbola GNU+Linux-libre"
|
||||||
txtconfighyperbola="Configura Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="Configura Hyperbola GNU+Linux-libre"
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ txtinstallmenu="Installeringsmeny"
|
|||||||
txthyperbolainstallmenu="Hyperbola Installeringsmeny"
|
txthyperbolainstallmenu="Hyperbola Installeringsmeny"
|
||||||
|
|
||||||
txteditmirrorlist="Rediger Speillisten"
|
txteditmirrorlist="Rediger Speillisten"
|
||||||
|
txteditpacmanconf="Rediger pacman.conf"
|
||||||
txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Installer Hyperbola GNU+Linux-libre"
|
||||||
txtconfighyperbola="Configurer Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="Configurer Hyperbola GNU+Linux-libre"
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ txthyperbolainstallmenu="Menu instalacji Hyperbola'a"
|
|||||||
txtrungrubmakeconfig="Uruchomić grub-mkconfig ?"
|
txtrungrubmakeconfig="Uruchomić grub-mkconfig ?"
|
||||||
|
|
||||||
txteditmirrorlist="Edytuj listę mirrorów"
|
txteditmirrorlist="Edytuj listę mirrorów"
|
||||||
|
txteditpacmanconf="Edytuj pacman.conf"
|
||||||
txtinstallhyperbola="Zainstaluj Hyperbola Linuksa"
|
txtinstallhyperbola="Zainstaluj Hyperbola Linuksa"
|
||||||
txtconfighyperbola="Skonfiguruj Hyperbola Linuksa"
|
txtconfighyperbola="Skonfiguruj Hyperbola Linuksa"
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ txtinstallmenu="Menu de Instalação"
|
|||||||
txthyperbolainstallmenu="Menu de Instalação do Hyperbola"
|
txthyperbolainstallmenu="Menu de Instalação do Hyperbola"
|
||||||
|
|
||||||
txteditmirrorlist="Editar lista de espelhos"
|
txteditmirrorlist="Editar lista de espelhos"
|
||||||
|
txteditpacmanconf="Editar pacman.conf"
|
||||||
txtinstallhyperbola="Instalar o Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Instalar o Hyperbola GNU+Linux-libre"
|
||||||
txtinstallfirmware="Instalar o Firmware"
|
txtinstallfirmware="Instalar o Firmware"
|
||||||
txtconfighyperbola="Configurar o Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="Configurar o Hyperbola GNU+Linux-libre"
|
||||||
|
@ -60,6 +60,7 @@ txthyperbolainstallmenu="Меню настройки Hyperbola GNU+Linux-libre"
|
|||||||
txtrungrubmakeconfig="Создать grub-mkconfig ?"
|
txtrungrubmakeconfig="Создать grub-mkconfig ?"
|
||||||
|
|
||||||
txteditmirrorlist="Редактор mirrorlist"
|
txteditmirrorlist="Редактор mirrorlist"
|
||||||
|
txteditpacmanconf="Редактор pacman.conf"
|
||||||
txtinstallhyperbola="Установка Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Установка Hyperbola GNU+Linux-libre"
|
||||||
txtconfighyperbola="Настройка Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="Настройка Hyperbola GNU+Linux-libre"
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ txthyperbolainstallmenu="Menú de instalación de Hyperbola"
|
|||||||
txtrungrubmakeconfig="¿ Ejecutar grub-mkconfig ?"
|
txtrungrubmakeconfig="¿ Ejecutar grub-mkconfig ?"
|
||||||
|
|
||||||
txteditmirrorlist="Editar mirrorlist"
|
txteditmirrorlist="Editar mirrorlist"
|
||||||
|
txteditpacmanconf="Editar pacman.conf"
|
||||||
txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre"
|
txtinstallhyperbola="Instalar Hyperbola GNU+Linux-libre"
|
||||||
txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre"
|
txtconfighyperbola="Configurar Hyperbola GNU+Linux-libre"
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ txtinstallmenu="Kurulum Menüsü"
|
|||||||
txthyperbolainstallmenu="Hyperbola Kurulum Menüsü"
|
txthyperbolainstallmenu="Hyperbola Kurulum Menüsü"
|
||||||
|
|
||||||
txteditmirrorlist="Sunucu yansı listesini düzenle"
|
txteditmirrorlist="Sunucu yansı listesini düzenle"
|
||||||
|
txteditpacmanconf="Sunucu yansı pacman.conf"
|
||||||
txtinstallhyperbola="Hyperbola GNU+Linux-libre Kur"
|
txtinstallhyperbola="Hyperbola GNU+Linux-libre Kur"
|
||||||
txtconfighyperbola="Hyperbola GNU+Linux-libre Ayalar"
|
txtconfighyperbola="Hyperbola GNU+Linux-libre Ayalar"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user