mirror of
https://github.com/sigmasternchen/Anineko
synced 2025-03-15 03:28:57 +00:00
i <3 cache... no, I don't...
This commit is contained in:
parent
fa762942a1
commit
f9ffe12037
2 changed files with 3 additions and 3 deletions
4
anineko
4
anineko
|
@ -42,12 +42,12 @@ help() {
|
|||
|
||||
if test "$mode" = "update"; then
|
||||
echo "Checking md5sum of current version..."
|
||||
if test "$(md5sum $(which $0) | awk '{print $1}')" = "$(wget -O - "https://raw.githubusercontent.com/overflowerror/Anineko/master/anineko.md5" -q | awk '{print $1}')"; then
|
||||
if test "$(md5sum $(which $0) | awk '{print $1}')" = "$(wget -O - "https://raw.githubusercontent.com/overflowerror/Anineko/master/anineko.md5" -q --no-cache | awk '{print $1}')"; then
|
||||
echo "Local version is up to date."
|
||||
exit 0
|
||||
fi
|
||||
echo "Downloading update script..."
|
||||
wget -O /tmp/$$.anineko-install "https://raw.githubusercontent.com/overflowerror/Anineko/master/install" --progress=bar:force 2>&1 | tail -f -n +12
|
||||
wget --no-cache -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..."
|
||||
|
|
|
@ -1 +1 @@
|
|||
1993bb8599c15ad1b9c11c0c11cf31a5 anineko
|
||||
f0f67384dabbd23def2c884016070984 anineko
|
||||
|
|
Loading…
Reference in a new issue