Update scripts
This commit is contained in:
parent
b2d723cb62
commit
95a28acb6a
4 changed files with 66 additions and 0 deletions
17
update-scripts/1-1-90_1-2-0.sh
Executable file
17
update-scripts/1-1-90_1-2-0.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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!"
|
Reference in a new issue