Update Script 1.2.0 to 1.2.1
This commit is contained in:
parent
c68179d83e
commit
ee86c8cdd5
1 changed files with 19 additions and 0 deletions
19
update-scripts/1-2-0_1-2-1.sh
Executable file
19
update-scripts/1-2-0_1-2-1.sh
Executable file
|
@ -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!"
|
Reference in a new issue