diff options
author | Jesús <heckyel@hyperbola.info> | 2021-08-27 21:12:14 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-27 21:12:14 -0500 |
commit | cad7f1bee5411b46bd196c97d90e4a81f339e4a8 (patch) | |
tree | 38883084556df8b498eb683266553c62575ea343 /hyperfi | |
parent | b04d75063f3ab8f8a3db006178ee4a35813b8d19 (diff) | |
download | hyperfi-cad7f1bee5411b46bd196c97d90e4a81f339e4a8.tar.lz hyperfi-cad7f1bee5411b46bd196c97d90e4a81f339e4a8.tar.xz hyperfi-cad7f1bee5411b46bd196c97d90e4a81f339e4a8.zip |
Add edit pacman.conf to menu
Diffstat (limited to 'hyperfi')
-rw-r--r-- | hyperfi | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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" |