Unverified Commit 25d2ce43 authored by Chris Kim's avatar Chris Kim Committed by GitHub

Update install.sh

Change from file check to yum check for uninstall script Co-authored-by: 's avatarJacob Blain Christen <dweomer5@gmail.com>
parent 66d87698
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment