mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 09:27:35 +02:00
Change: Selecting/Enabling printer & scanner support now defaults to 'No'
Change: Edit a few prompts for better aesthetics
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# Amelia Installer
|
||||
# Source: https://gitlab.com/prism7/archery
|
||||
# Version: 9.8.2
|
||||
# Version: 9.8.3
|
||||
|
||||
set -euo pipefail
|
||||
###################################################################################################
|
||||
@@ -2520,15 +2520,15 @@ ${magenta}###${nc}--------------------------------${magenta}[ ${bwhite}Printer &
|
||||
|
||||
|
||||
|
||||
> Enable Printer & Scanner support ? [Y/n] "
|
||||
> Enable Printer & Scanner support ? [y/N] "
|
||||
BLUE "
|
||||
|
||||
|
||||
Enter [Y/n]: "
|
||||
Enter [y/N]: "
|
||||
read -r -p "
|
||||
==> " printer
|
||||
|
||||
printer="${printer:-y}"
|
||||
printer="${printer:-n}"
|
||||
printer="${printer,,}"
|
||||
|
||||
case "${printer}" in
|
||||
@@ -3595,11 +3595,13 @@ ${magenta}###${nc}---------------------------------${magenta}[ ${bwhite}Automati
|
||||
return 0
|
||||
fi
|
||||
sleep 0.2
|
||||
NC "
|
||||
------------------------------------------------------------
|
||||
${cyan}>>> ${nc}Apply ${yellowl}'Smart Partitioning' ${nc}on disk ${bwhite}'${instl_drive}'${nc} ? ${cyan}[Y/n]${nc}
|
||||
------------------------------------------------------------
|
||||
"
|
||||
CYAN "
|
||||
|
||||
>>> ${nc}Apply ${yellowl}'Smart Partitioning' ${nc}on disk ${bwhite}'${instl_drive}'${nc} ? ${cyan}[Y/n] "
|
||||
BLUE "
|
||||
|
||||
|
||||
Enter [Y/n]: "
|
||||
read -r -p "
|
||||
==> " smartpart
|
||||
|
||||
@@ -6552,10 +6554,11 @@ FSTAB
|
||||
set_wireless_regdom() {
|
||||
|
||||
local stage_prompt="Wireless Regulatory Domain"
|
||||
if [[ "${swapmode}" != "2" ]]; then
|
||||
line2
|
||||
fi
|
||||
sleep 0.2
|
||||
NC "
|
||||
|
||||
|
||||
${magenta}###${nc}--------------------------${magenta}[ ${bwhite}Setting Up Wireless Regulatory Domain${nc} ${magenta}]${nc}--------------------------${magenta}###
|
||||
"
|
||||
if sed -i "/^#WIRELESS_REGDOM=\"${REGDOM}\"/s/^#//" /mnt/etc/conf.d/wireless-regdom ; then
|
||||
|
||||
Reference in New Issue
Block a user