Skip to content

Commit

Permalink
fix(snap): ensure missing simlink is present
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAegis committed Feb 4, 2024
1 parent c1781c9 commit 729e2e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions modules/snap/2.root.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

# classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap
ln -s /var/lib/snapd/snap /snap
2 changes: 1 addition & 1 deletion modules/snap/u.root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Snaps automatically refresh but this is here to do it manually
# To check how often: snap refresh --time
# It usually does it every 4 hours
snap refresh
snap refresh

0 comments on commit 729e2e7

Please sign in to comment.