Update script for version 1.4.3: fixes

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-05-21 21:20:00 +02:00
parent 780db2ae07
commit 8eab76ed20

17
update-scripts/1-4-2_1-4-3.sh Normal file → Executable file
View file

@ -6,11 +6,11 @@ version="1.4.3"
new="./rbe-new"
echo -n "Downloading version $version from GitLab... "
git clone https://gitlab.com/mmk2410/rangitaki.git "$new"
git clone -q https://gitlab.com/mmk2410/rangitaki.git "$new"
if [[ $1 == "--debug" ]]; then
cd $new
git checkout master
git checkout -q master
cd ../
fi
echo "done"
@ -26,13 +26,6 @@ mv $new/src/coffee/app.coffee ./src/coffee/
mv $new/src/sass-themes/nextDESIGN.sass ./src/sass-themes/
echo "done"
echo -n "Updating extensions... "
rm ./themes/material-light.css
rm ./themes/material-dark.css
rm ./themes/background-img.css
mv $new/themes/* ./themes/
echo "done"
echo -n "Updating RCC... "
rm -rf ./rcc
mv $new/rcc ./
@ -50,9 +43,9 @@ mv $new/bin/ ./
echo "done"
echo -n "Updating themes... "
rm ./themes/material-light.css
rm ./themes/material-dark.css
rm ./themes/background-img.css
rm ./themes/material-light.css*
rm ./themes/material-dark.css*
rm ./themes/background-img.css*
mv $new/themes/* ./themes/
echo "done"