Skip to content

Commit

Permalink
Check if shmoverride.so exists directly
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Jun 20, 2020
1 parent 40482e4 commit eef53e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appvm-scripts/usrbin/qubes-run-xephyr
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
DISPLAY_XEPHYR="$1"
OPTIONS_XEPHYR="-no-host-grab -fullscreen"

if [ -e /etc/debian_version ]; then
if [ -e /usr/lib/x86_64-linux-gnu/qubes-gui-daemon/shmoverride.so ]; then
SHMOVERRIDE=/usr/lib/x86_64-linux-gnu/qubes-gui-daemon/shmoverride.so
else
elif [ -e /usr/lib64/qubes-gui-daemon/shmoverride.so ]; then
SHMOVERRIDE=/usr/lib64/qubes-gui-daemon/shmoverride.so
fi

Expand Down

0 comments on commit eef53e4

Please sign in to comment.