Skip to content

Commit efa5cd3

Browse files
fix: install snap instead of assuming it is installed
1 parent 5ccd722 commit efa5cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jobs/microk8s_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ steps:
6868
name: Install microk8s and addon dependencies
6969
command: |
7070
if ! which snap > /dev/null; then
71-
sudo apt-get install snapd; \
71+
sudo apt update && sudo apt install snapd; \
7272
fi
7373
sudo snap refresh
7474
sudo apt update && sudo apt install nfs-common -y

0 commit comments

Comments
 (0)