add -y flag to apt install snapd

pull/934/head
Botspot 4 years ago
parent 4267d3c0c1
commit 77a96e2027

@ -9,7 +9,7 @@ function error {
# Get dependencies # Get dependencies
"${DIRECTORY}/pkg-install" "libsquashfuse0 squashfuse fuse libgconf-2-4" "$(dirname "$0")" || error "Failed to install libsquashfuse0 squashfuse fuse" "${DIRECTORY}/pkg-install" "libsquashfuse0 squashfuse fuse libgconf-2-4" "$(dirname "$0")" || error "Failed to install libsquashfuse0 squashfuse fuse"
sudo apt install snapd || error "APT failed to install snapd" sudo apt install -y snapd || error "APT failed to install snapd"
sudo systemctl enable --now snapd.socket || error "Unable to enable snapd.socket" sudo systemctl enable --now snapd.socket || error "Unable to enable snapd.socket"
sudo systemctl start snapd.service || error "Unable to start snapd.service" sudo systemctl start snapd.service || error "Unable to start snapd.service"

Loading…
Cancel
Save