Skip to content

Commit

Permalink
fix snap check #223
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Feb 16, 2020
1 parent 6d8282d commit 73c350e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x11docker
Original file line number Diff line number Diff line change
Expand Up @@ -6058,7 +6058,7 @@ check_host() { # check host environment
Hostsystem="$(grep '^ID=' /etc/os-release 2>/dev/null | cut -d= -f2 || echo 'unknown')"

# Check if docker is installed with Ubuntu snap
realpath $(command -v docker) | grep -q snap && Runsinsnap="yes" | Runsinsnap="no"
realpath $(command -v docker) | grep -q snap && Runsinsnap="yes" || Runsinsnap="no"

# Check libc from host. If same as in container, it is possible to share timezone file
Hostlibc="unknown"
Expand Down

0 comments on commit 73c350e

Please sign in to comment.