mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
There are some aspects of this package which may not be Debian compliment. specifically we vendor in all node dependencies. The packaged produced will: create a bgpalerter use install systemd file install the binary to /usr/bin/bgpalert install dependencies install the example config files to /etc/bgpalerter/
23 lines
339 B
Bash
23 lines
339 B
Bash
#!/bin/bash
|
|
# The postinst file is required until sysuser support is added to debhelper-compat (expected in 14)
|
|
set -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
systemd-sysusers
|
|
;;
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
:
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|