Snap Store: install dependencies, then snapd

pull/909/head
Botspot 3 years ago
parent 7e7b645e1f
commit c1d1e65f19

@ -8,7 +8,8 @@ function error {
}
# Get dependencies
"${DIRECTORY}/pkg-install" "snapd libsquashfuse0 squashfuse fuse" "$(dirname "$0")" || exit 1
"${DIRECTORY}/pkg-install" "libsquashfuse0 squashfuse fuse" "$(dirname "$0")" || error "Failed to install libsquashfuse0 squashfuse fuse"
sudo apt install snapd || error "APT failed to install snapd"
sudo systemctl enable --now snapd.socket || error "Unable to enable snapd.socket"
sudo snap install core || error "Unable to install core"

Loading…
Cancel
Save