Skip to content

Commit

Permalink
[snap] add back wrapper for setting SNAP_REAL_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-toterman committed Jul 3, 2024
1 parent 546531c commit d27bdef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snap-wrappers/bin/client-common.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

export SNAP_REAL_HOME=$( getent passwd $USER | cut -d: -f6 )
2 changes: 2 additions & 0 deletions snap-wrappers/bin/launch-multipass
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

. client-common.sh

exec "$SNAP/bin/multipass" "$@"

0 comments on commit d27bdef

Please sign in to comment.