Missed one line
This commit is contained in:
parent
8cde542fba
commit
a4c025a8b9
|
@ -14,7 +14,7 @@ post_install() {
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
for line in 'QT_QPA_PLATFORMTHEME' 'QT_QUICK_CONTROLS_STYLE'; do
|
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
|
if grep -q "^\s*$line=" /etc/environment; then
|
||||||
sed -i "s/^\s*$line=.*$/$line=\"gtk2\"" /etc/environment
|
sed -i "s/^\s*$line=.*$/$line=\"gtk2\"" /etc/environment
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user