From ee86c8cdd50d21da067b956fa149bd831eb7ac2f Mon Sep 17 00:00:00 2001 From: mmk2410 Date: Mon, 11 Jan 2016 19:39:58 +0100 Subject: [PATCH] Update Script 1.2.0 to 1.2.1 --- update-scripts/1-2-0_1-2-1.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 update-scripts/1-2-0_1-2-1.sh diff --git a/update-scripts/1-2-0_1-2-1.sh b/update-scripts/1-2-0_1-2-1.sh new file mode 100755 index 0000000..2dc0cc4 --- /dev/null +++ b/update-scripts/1-2-0_1-2-1.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# Update script for Rangitaki from version 1.2.0 to 1.2.1 +echo "Downloading version 1.2.1..." +mkdir ./rbe-new +cd ./rbe-new || exit +wget -c https://github.com/mmk2410/Rangitaki/archive/v1.2.1.zip +unzip v1.2.1.zip +rm v1.2.1.zip +mv ./rangitaki-1.2.1/* ./ +rm ./rangitaki-1.2.1 +cd ../ || exit +mkdir rbe-tmp +echo "Updating ressources..." +rm -rf ./res/php/ +mv ./rbe-new/res/php ./res/ +echo "Cleaning up..." +rm -rf ./rbe-new +rm -rf ./rbe-tmp +echo "Done!"