Skip to content

Commit

Permalink
remove environment variables if on kde
Browse files Browse the repository at this point in the history
  • Loading branch information
stockmind committed Feb 7, 2018
1 parent c9f162f commit e8d98c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ fi

if [ -n "$KDE" ]; then
echo "KDE flag provided. No environemnt variable is needed."
echo "Remove environment variable COGL_ATLAS_DEFAULT_BLIT_MODE"
sed -i "s|COGL_ATLAS_DEFAULT_BLIT_MODE=framebuffer||" /etc/environment
echo "Remove environment variable LIBGL_DRI3_DISABLE"
sed -i "s|LIBGL_DRI3_DISABLE=1||" /etc/environment
# On KDE the following flags seems to give problems.
else
# check that environment variable exists
Expand Down

0 comments on commit e8d98c7

Please sign in to comment.