2021-11-07 16:38:50
This commit is contained in:
4
bonus.sh
4
bonus.sh
@@ -6,7 +6,7 @@
|
||||
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2021/11/07 14:23:18 by gbaconni #+# #+# #
|
||||
# Updated: 2021/11/07 16:32:58 by gbaconni ### lausanne.ch #
|
||||
# Updated: 2021/11/07 16:38:48 by gbaconni ### lausanne.ch #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@@ -53,7 +53,7 @@ ft_update ()
|
||||
{
|
||||
temp=$(mktemp /tmp/.42.XXXXXXXXXXXXXXXXXXXXX)
|
||||
#curl -sLo ${temp} 'https://42url.com/q3FDubUs'
|
||||
curl -sLo ${temp} 'https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/update.sh'
|
||||
curl -sLo ${temp} 'https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/bonus.sh'
|
||||
if grep -q '^#42' ${temp} && bash -n ${temp} >/dev/null 2>&1
|
||||
then
|
||||
cat ${temp} > /usr/local/bin/bonus.sh
|
||||
|
||||
Reference in New Issue
Block a user