Skip to content

Commit

Permalink
Fix install.sh for apt removal
Browse files Browse the repository at this point in the history
  • Loading branch information
markushuber authored Aug 30, 2024
1 parent 2731028 commit 2cda658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ echo -ne "Setup knot-resolver repo ... \t"
# Remove legacy knot-resolver repo
legacy_apt_installed=$(dpkg-query -W --showformat='${db:Status-Status}' knot-resolver-release 2>&1) || true
if [[ "$legacy_apt_installed" == "installed" ]]; then
apt-get remove --purge knot-resolver-release > /dev/null 2>&1
apt-get remove -y --purge knot-resolver-release > /dev/null 2>&1
fi

curl -sSL "$kresd_repo_script_url" -o "$kresd_repo_script_path"
Expand Down

0 comments on commit 2cda658

Please sign in to comment.