snap store: make symbolic link non-fatal

pull/899/head
Botspot 4 years ago
parent d386e94b83
commit 887bc54b96

@ -13,7 +13,7 @@ function error {
sudo systemctl enable --now snapd.socket || error "Unable to enable snapd.socket"
sudo snap install core || error "Unable to install core"
sudo ln -s /var/lib/snapd/snap /snap || error "unable to create symbolic link between /var/lib/snapd/snap and /snap"
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install snap-store || error "Unable to install snap store"
sudo rm -rf /usr/share/applications/snap
ln -s /var/lib/snapd/desktop/applications /usr/share/applications/snap || sudo ln -s /var/lib/snapd/desktop/applications /usr/share/applications/snap || error "Failed to create symlink for Snap app shortcuts!"

Loading…
Cancel
Save