You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wireguird/package.sh

12 lines
294 B

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
fi
fi