This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
rangitaki/update-scripts/1-2-0_1-2-1.sh

20 lines
459 B
Bash
Raw Permalink Normal View History

2016-01-11 19:39:58 +01:00
#!/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!"