Skip to content

Commit

Permalink
snap/snappy: more general detection #223
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Feb 16, 2020
1 parent 08ba707 commit 1f9338d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Project website: https://github.com/mviereck/x11docker
[(#222)](https://github.com/mviereck/x11docker/issues/222)
- `--wm`: Improved checks and fallback handling.
Disabled context menu for host window manager `--wm=openbox`.
### Fixed
- snap/snappy: More general detection.
[(#223)](https://github.com/mviereck/x11docker/issues/223)


## [6.5.0](https://github.com/mviereck/x11docker/releases/tag/v6.5.0) - 2019-12-22
Expand Down
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
[ "$(command -v docker | cut -c1-5)" = "/snap" ] && Runsinsnap="yes" | Runsinsnap="no"
grep -q snap < <(realpath $(command -v docker)) && 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 1f9338d

Please sign in to comment.