wireguird/package.sh

15 lines
390 B
Bash
Raw Normal View History

if [[ -f "/etc/os-release" ]]; then
source "/etc/os-release"
if [[ "${ID}" == "fedora" ]]; then
echo "not supported yet"
#echo "rpm package"
#./package_rpm.sh
elif [[ "${ID}" == "ubuntu" ]]; then
echo "deb package"
./package_deb.sh
2023-10-01 11:41:07 +00:00
elif [[ "${ID}" == "linuxmint" ]]; then
echo "deb package"
./package_deb.sh
fi
fi