Couple of debian fixes, cannot use variable expansions this way

This commit is contained in:
2025-12-31 16:18:47 +01:00
parent fab5119fc2
commit 86369a77f7
5 changed files with 24 additions and 12 deletions

18
debian/bird-exporter.postinst vendored Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
set -e
case "$1" in
configure)
# Create bird user if it doesn't exist
if ! getent passwd bird > /dev/null; then
adduser --system --group --no-create-home \
--home /nonexistent \
--gecos "BIRD routing daemon" \
bird
fi
;;
esac
#DEBHELPER#
exit 0