From 58a1b7ab626f8419c460e53762abd4cb1681f025 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Wed, 13 Apr 2016 00:13:57 +0200 Subject: [PATCH] Add fork test support for external file --- archfi | 4 ++-- makerelease | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/archfi b/archfi index 71b1e03..3b2c5e6 100644 --- a/archfi +++ b/archfi @@ -1338,8 +1338,8 @@ loadstrings(){ # -------------------------------------------------------- while (( "$#" )); do case $1 in -baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master -baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master + -t | --test) baseurl="https://raw.githubusercontent" + baseurl="$baseurl.com/""$2/archfi/$3";; --chroot) chroot=1 command=$2 args=$3;; diff --git a/makerelease b/makerelease index df56f8f..19a4437 100644 --- a/makerelease +++ b/makerelease @@ -36,7 +36,7 @@ echo "" echo "Finalise archfi script..." sed -i /apptitle=/c\apptitle=\""Arch Linux Fast Install (archfi) - Version: $version (GPLv3)"\" archfi -sed -i /baseurl=/c\baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master archfi +sed -i /baseurl=https://raw.githubusercontent.com/c\baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master archfi echo "Make last commit..." git commit -a -m "New Release : $version"