i <3 cache... no, I don't...

This commit is contained in:
overflowerror 2016-04-21 09:44:29 +02:00
parent fa762942a1
commit f9ffe12037
2 changed files with 3 additions and 3 deletions

View file

@ -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..."

View file

@ -1 +1 @@
1993bb8599c15ad1b9c11c0c11cf31a5 anineko
f0f67384dabbd23def2c884016070984 anineko