Add screen to extra packages and update URL mirror

This commit is contained in:
Jesús 2022-05-24 01:23:36 +08:00
parent e58613ff5c
commit ba76c720b7
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -1633,10 +1633,12 @@ archextrasmenu(){
pkgs="" pkgs=""
options=() options=()
options+=("nano" "" on) options+=("nano" "" on)
options+=("screen" "" on)
options+=("vim" "" on) options+=("vim" "" on)
options+=("dhcpcd" "" on) options+=("dhcpcd" "" on)
options+=("iw" "" on) options+=("iw" "" on)
options+=("net-tools" "" on) options+=("net-tools" "" on)
options+=("bind-tools" "" on)
sel=$(whiptail --backtitle "${apptitle}" --title "${txtextrasmenu}" --checklist "" 0 0 0 \ sel=$(whiptail --backtitle "${apptitle}" --title "${txtextrasmenu}" --checklist "" 0 0 0 \
"${options[@]}" \ "${options[@]}" \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
@ -1858,7 +1860,7 @@ while (( "$#" )); do
echo "-cpl | --custom-package-list url Set custom package list url" echo "-cpl | --custom-package-list url Set custom package list url"
echo "-sf | --skip-font Skip setfont from language files" echo "-sf | --skip-font Skip setfont from language files"
echo "-efiX -efi0 : disable EFI, -efi1 efi inst, -efi2 efi hybrid inst" echo "-efiX -efi0 : disable EFI, -efi1 efi inst, -efi2 efi hybrid inst"
echo "-t | --test codebergname ghbranch Test hyperfi script and language" echo "-t | --test hypergit name branch Test hyperfi script and language"
exit 0 exit 0
;; ;;
-cpl | --custom-package-list) -cpl | --custom-package-list)
@ -1871,11 +1873,11 @@ while (( "$#" )); do
;; ;;
-sf | --skip-font) skipfont=1;; -sf | --skip-font) skipfont=1;;
-t | --test) -t | --test)
wget -O hyperfi https://codeberg.org/${2}/hyperfi/raw/branch/${3}/hyperfi wget -O hyperfi https://hgit.ga/${2}/hyperfi/raw/branch/${3}/hyperfi
sh hyperfi -tt ${2} ${3} sh hyperfi -tt ${2} ${3}
exit 0 exit 0
;; ;;
-tt) baseurl="https://codeberg.org/${2}/hyperfi/raw/branch/${3}";; -tt) baseurl="https://hgit.ga/${2}/hyperfi/raw/branch/${3}";;
-efi0) -efi0)
efimode=0 efimode=0
;; ;;