Update 'fixes-package.install'
This commit is contained in:
parent
4a04966280
commit
eb7bac0566
|
@ -31,6 +31,10 @@ done
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_remove() {
|
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
|
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"
|
echo "Warning: A restart is required to take effect"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user