Added Debian check to util/build-debian-package.sh

This commit is contained in:
jahway603 2024-11-16 10:26:33 -05:00
parent 2aa7169b56
commit 60148e66f4

View File

@ -6,6 +6,14 @@
## ./util/build-debian-package.sh # build amd64 package
## ./util/build-debian-package.sh aarch64 # build package for specific archiecture
# Check if running on Debian and exit if it is not
if grep -qi "Debian" /etc/os-release; then
:
else
echo -e "NOT RUNNING THIS SCRIPT ON DEBIAN! Try again with Debian." >&2
exit 1
fi
ARCH=${1:-amd64}
echo "Let There Be Hush Debian Packages"