aboutsummaryrefslogtreecommitdiffstats
path: root/hyperfi
diff options
context:
space:
mode:
Diffstat (limited to 'hyperfi')
-rw-r--r--hyperfi11
1 files changed, 11 insertions, 0 deletions
diff --git a/hyperfi b/hyperfi
index c8667f4..bb61f77 100644
--- a/hyperfi
+++ b/hyperfi
@@ -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"