Merge pull request 'Added Debian check to util/build-debian-package.sh' (#443) from jahway603 into dev

Reviewed-on: https://git.hush.is/hush/hush3/pulls/443
This commit is contained in:
jahway603
2024-11-16 16:28:21 +01:00

View File

@@ -6,6 +6,14 @@
## ./util/build-debian-package.sh # build amd64 package ## ./util/build-debian-package.sh # build amd64 package
## ./util/build-debian-package.sh aarch64 # build package for specific archiecture ## ./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} ARCH=${1:-amd64}
echo "Let There Be Hush Debian Packages" echo "Let There Be Hush Debian Packages"