Missed one line

This commit is contained in:
Rokosun 2022-09-28 14:57:42 +02:00
parent 8cde542fba
commit a4c025a8b9

View File

@ -14,7 +14,7 @@ post_install() {
post_upgrade() {
for line in 'QT_QPA_PLATFORMTHEME' 'QT_QUICK_CONTROLS_STYLE'; do
grep -q "^\s*$line=\"gtk2\"" /etc/environment || continue
grep -q "^\s*$line=\"gtk2\"" /etc/environment || continue
if grep -q "^\s*$line=" /etc/environment; then
sed -i "s/^\s*$line=.*$/$line=\"gtk2\"" /etc/environment
else