Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
Change from file check to yum check for uninstall script

Co-authored-by: Jacob Blain Christen <[email protected]>
  • Loading branch information
Oats87 and dweomer authored Nov 17, 2020
1 parent 66d8769 commit 25d2ce4
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 @@ -674,7 +674,7 @@ rm -rf /var/lib/kubelet
rm -f ${BIN_DIR}/k3s
rm -f ${KILLALL_K3S_SH}
if [ -r /etc/redhat-release ] || [ -r /etc/centos-release ] || [ -r /etc/oracle-release ]; then
if type yum >/dev/null 2>&1; then
yum remove -y k3s-selinux
rm -f /etc/yum.repos.d/rancher-k3s-common*.repo
fi
Expand Down

0 comments on commit 25d2ce4

Please sign in to comment.