Added Linux Mint to scripts

This commit is contained in:
Pau Giuli 2023-10-01 13:41:07 +02:00
parent 6dac3cd878
commit f65c6a70d2
3 changed files with 8 additions and 0 deletions

View File

@ -7,5 +7,8 @@ if [[ -f "/etc/os-release" ]]; then
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
elif [[ "${ID}" == "debian" ]]; then elif [[ "${ID}" == "debian" ]]; then
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
elif [[ "${ID}" == "linuxmint" ]]; then
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
fi fi
fi fi

View File

@ -5,6 +5,8 @@ if [[ -f "/etc/os-release" ]]; then
#sudo rpm #sudo rpm
elif [[ "${ID}" == "ubuntu" ]]; then elif [[ "${ID}" == "ubuntu" ]]; then
sudo dpkg -i ./build/wireguird_amd64.deb sudo dpkg -i ./build/wireguird_amd64.deb
elif [[ "${ID}" == "linuxmint" ]]; then
sudo dpkg -i ./build/wireguird_amd64.deb
fi fi
fi fi

View File

@ -7,5 +7,8 @@ if [[ -f "/etc/os-release" ]]; then
elif [[ "${ID}" == "ubuntu" ]]; then elif [[ "${ID}" == "ubuntu" ]]; then
echo "deb package" echo "deb package"
./package_deb.sh ./package_deb.sh
elif [[ "${ID}" == "linuxmint" ]]; then
echo "deb package"
./package_deb.sh
fi fi
fi fi