Add fork test support for external file
This commit is contained in:
parent
d09a94eac6
commit
58a1b7ab62
2 changed files with 3 additions and 3 deletions
4
archfi
4
archfi
|
@ -1338,8 +1338,8 @@ loadstrings(){
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
while (( "$#" )); do
|
while (( "$#" )); do
|
||||||
case $1 in
|
case $1 in
|
||||||
baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master
|
-t | --test) baseurl="https://raw.githubusercontent"
|
||||||
baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master
|
baseurl="$baseurl.com/""$2/archfi/$3";;
|
||||||
--chroot) chroot=1
|
--chroot) chroot=1
|
||||||
command=$2
|
command=$2
|
||||||
args=$3;;
|
args=$3;;
|
||||||
|
|
|
@ -36,7 +36,7 @@ echo ""
|
||||||
|
|
||||||
echo "Finalise archfi script..."
|
echo "Finalise archfi script..."
|
||||||
sed -i /apptitle=/c\apptitle=\""Arch Linux Fast Install (archfi) - Version: $version (GPLv3)"\" archfi
|
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..."
|
echo "Make last commit..."
|
||||||
git commit -a -m "New Release : $version"
|
git commit -a -m "New Release : $version"
|
||||||
|
|
Loading…
Reference in a new issue