aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archfi4
-rw-r--r--makerelease2
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"