mirror of
https://git.hush.is/hush/hush3.git
synced 2025-12-15 00:04:46 -05:00
Added Debian check to util/build-debian-package.sh
This commit is contained in:
parent
2aa7169b56
commit
60148e66f4
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user