From 41579dd87237a60b8332b3e739ebda526e57c642 Mon Sep 17 00:00:00 2001 From: Gabriel Nagy Date: Mon, 2 Aug 2021 13:04:47 +0300 Subject: [PATCH] Uninstall repo with apt purge instead of dpkg --- install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.rb b/install.rb index c7f7b12..b11c339 100644 --- a/install.rb +++ b/install.rb @@ -65,7 +65,7 @@ if [[ $PT__noop != true ]]; then rpm -e --allmatches ${collection}-release ;; Debian|LinuxMint|Linuxmint|Ubuntu) - dpkg -r ${collection}-release + apt-get purge ${collection}-release -y ;; esac fi