From bf31f4b350892404a78477076eae53fab433393d Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 11 Jan 2020 02:38:21 +0100 Subject: [PATCH] Update test args --- archfi | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/archfi b/archfi index 758873c..ba3c364 100644 --- a/archfi +++ b/archfi @@ -1830,14 +1830,18 @@ while (( "$#" )); do --help) echo "archfi" echo "------" - echo "-sf | --skip-font Skip setfont from language files" - echo "-efiX -efi0 : disable EFI, -efi1 efi inst, -efi2 efi hybrid inst" - echo "-t | --test ghusername ghbranch Test language files" + echo "-sf | --skip-font Skip setfont from language files" + echo "-efiX -efi0 : disable EFI, -efi1 efi inst, -efi2 efi hybrid inst" + echo "-t | --test ghusername ghbranch Test archfi script and language" exit 0 ;; -sf | --skip-font) skipfont=1;; - -t | --test) baseurl="https://raw.githubusercontent" - baseurl="${baseurl}.com/""${2}/archfi/${3}";; + -t | --test) + wget -O archfi https://raw.githubusercontent.com/${2}/archfi/${3}/archfi + sh archfi -tt ${2} ${3} + exit 0 + ;; + -tt) baseurl="https://raw.githubusercontent.com/${2}/archfi/${3}";; -efi0) efimode=0;; -efi1) eficomputer=1