Upstream added a gtk2 platform theme

This commit is contained in:
nfnty
2016-10-02 10:59:17 +02:00
parent 1902d7bcc3
commit 7fd304eb3e
3 changed files with 20 additions and 0 deletions

17
install.sh Normal file
View File

@@ -0,0 +1,17 @@
_5_0_0_2_changes() {
echo ':: Upstream added a gtk2 platform theme'
echo ' unexport `QT_STYLE_OVERRIDE`'
echo ' export `QT_QPA_PLATFORMTHEME=gtk2`'
}
post_upgrade() {
local versions=(
'5.0.0-2'
)
local version
for version in "${versions[@]}"; do
if [[ "$( vercmp "${version}" "${2}" )" -eq 1 ]]; then
"$( printf '_%s_changes' "${version}" | perl -p -e 's/\.|-/_/g' )"
fi
done
}