mirror of
https://github.com/sigmasternchen/Anineko
synced 2025-03-15 19:48:54 +00:00
that shouldn't happen
This commit is contained in:
parent
2bd360bcf4
commit
002e72a26e
2 changed files with 4 additions and 4 deletions
6
anineko
6
anineko
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
export useragent="Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37... nope, actually wget"
|
||||
|
||||
mode=$1
|
||||
|
@ -31,13 +31,13 @@ if test "$mode" = "update"; then
|
|||
exit 0
|
||||
fi
|
||||
echo "Downloading update script..."
|
||||
wget -O ${TMPPREFIX}.$$.anineko-install "https://raw.githubusercontent.com/overflowerror/Anineko/master/install" --progress=bar:force 2>&1 | tail -f -n +12
|
||||
wget -O /tmp/$$.anineko-install "https://raw.githubusercontent.com/overflowerror/Anineko/master/install" --progress=bar:force 2>&1 | tail -f -n +12
|
||||
echo "Download finished..."
|
||||
|
||||
echo "Executing..."
|
||||
echo
|
||||
|
||||
bash ${TMPPREFIX}.$$.anineko-install
|
||||
bash /tmp/$$.anineko-install
|
||||
|
||||
exit $?
|
||||
elif test "$mode" = "search"; then
|
||||
|
|
|
@ -1 +1 @@
|
|||
5546cc1a55ac738f5bb6f1dff1a5dc40
|
||||
b479e52af0a182a2cfce3e12ffcaee8b
|
||||
|
|
Loading…
Reference in a new issue