Skip to content

Commit 5350420

Browse files
committed
fix: use sudo for apt-get commands
1 parent 936713c commit 5350420

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/nix-provision.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ EOF
3939
}
4040

4141
function cleanup_packages {
42-
apt-get -y remove --purge ansible
43-
add-apt-repository --yes --remove ppa:ansible/ansible
42+
sudo apt-get -y remove --purge ansible
43+
sudo add-apt-repository --yes --remove ppa:ansible/ansible
4444
}
4545

4646
install_packages

0 commit comments

Comments
 (0)