You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
515 B
Bash
16 lines
515 B
Bash
#!/bin/bash
|
|
|
|
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
|
|
|
function error {
|
|
echo -e "\\e[91m$1\\e[39m"
|
|
exit 1
|
|
}
|
|
|
|
rm -rf ~/libreoffice-ms-theme
|
|
git clone --depth=1 https://github.com/Botspot/libreoffice-ms-theme || error "Failed to git clone libreoffice-ms-theme repository!"
|
|
~/libreoffice-ms-theme/revert.sh || error "apply.sh failed"
|
|
rm -rf ~/libreoffice-ms-theme
|
|
|
|
echo "Your original settings are now restored. Libreoffice should now behave how it was originally."
|