Skip to content

Commit

Permalink
Add WireGuard removal for OpenSUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
conradgg committed May 19, 2024
1 parent 39f64e8 commit 2ea3b1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wireguard-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function initialCheck() {

function installQuestions() {
echo "Welcome to the WireGuard installer!"
echo "The git repository is available at: https://github.com/angristan/wireguard-install"
echo "The git repository is available at: https://github.com/conradgg/wireguard-install"
echo ""
echo "I need to ask you a few questions before starting the setup."
echo "You can keep the default options and just press enter if you are ok with them."
Expand Down Expand Up @@ -470,6 +470,8 @@ function uninstallWg() {
yum remove --noautoremove wireguard-tools qrencode
elif [[ ${OS} == 'arch' ]]; then
pacman -Rs --noconfirm wireguard-tools qrencode
elif [[ ${OS} == 'opensuse' ]]; then
zypper remove -y wireguard-tools qrencode
fi
rm -rf /etc/wireguard
Expand Down

0 comments on commit 2ea3b1d

Please sign in to comment.