Update 'fixes-package.install'

This commit is contained in:
Tio TROM 2022-09-28 14:29:32 +02:00
parent 4a04966280
commit eb7bac0566

View File

@ -31,6 +31,10 @@ done
}
pre_remove() {
for line in 'QT_QPA_PLATFORMTHEME' 'QT_QUICK_CONTROLS_STYLE'; do
sed -i "/^\s*$line=/d" /etc/environment
done
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global disable
echo "Warning: A restart is required to take effect"
}