Skip to content

Commit

Permalink
Merge pull request #3957 from zyga/tweak/liri-os
Browse files Browse the repository at this point in the history
cmd,dirs: treat "liri" the same way as "arch"
  • Loading branch information
mvo5 authored Sep 25, 2017
2 parents 49bd4a5 + 731f701 commit 73e03e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func distroSupportsReExec() bool {
return false
}
switch release.ReleaseInfo.ID {
case "fedora", "centos", "rhel", "opensuse", "suse", "poky", "arch", "manjaro":
case "fedora", "centos", "rhel", "opensuse", "suse", "poky", "arch", "manjaro", "lirios":
logger.Debugf("re-exec not supported on distro %q yet", release.ReleaseInfo.ID)
return false
}
Expand Down
2 changes: 1 addition & 1 deletion dirs/dirs.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func SetRootDir(rootdir string) {
GlobalRootDir = rootdir

switch release.ReleaseInfo.ID {
case "fedora", "centos", "rhel", "arch", "manjaro":
case "fedora", "centos", "rhel", "arch", "manjaro", "lirios":
SnapMountDir = filepath.Join(rootdir, "/var/lib/snapd/snap")
default:
SnapMountDir = filepath.Join(rootdir, defaultSnapMountDir)
Expand Down

0 comments on commit 73e03e6

Please sign in to comment.