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-1-90_1-2-0.sh

18 lines
422 B
Bash
Raw Normal View History

2015-12-24 17:27:24 +01:00
#!/bin/bash
# Script for updating Rangitaki 1.1.90 to 1.2.0
echo "Getting the up-to-date version..."
mkdir ./rbe-new
cd ./rbe-new || exit
wget -q -c https://github.com/mmk2410/Rangitaki/archive/v1.2.0.zip
unzip -qq v1.1.2.0.zip
rm v1.2.0.zip
mv ./rangitaki-1.2.0/* ./
rm -rf ./rangitaki-1.2.0
cd ../ || exit
echo "Updating core"
rm ./index.php
mv ./rbe-new/index.php ./
echo "Cleaning up..."
rm -rf ./rbe-new
echo "Done!"