Skip to content

Commit

Permalink
update bundle/bin/rke2-uninstall.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Brad Davidson <[email protected]>
  • Loading branch information
zackbradys and brandond authored Dec 12, 2023
1 parent 500fc26 commit 4fd801a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/bin/rke2-uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ uninstall_disable_services()
uninstall_remove_files()
{

if [ -r /etc/redhat-release ] || [ -r /etc/centos-release ] || [ -r /etc/oracle-release ] || [ -r /etc/rocky-release ] || [ -r /etc/amazon-linux-release ]; then
if [ -r /etc/redhat-release ] || [ -r /etc/centos-release ] || [ -r /etc/oracle-release ] || [ -r /etc/amazon-linux-release ]; then
yum remove -y "rke2-*"

rm -f /etc/yum.repos.d/rancher-rke2*.repo
Expand Down

0 comments on commit 4fd801a

Please sign in to comment.