mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 05:21:31 +00:00

Fixes maintainer-script-without-set-e Lintian warning. Signed-off-by: David Lamparter <equinox@diac24.net>
15 lines
315 B
Bash
15 lines
315 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
|
|
${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*"}
|
|
# set -u not because of debhelper
|
|
|
|
if [ "$1" = "purge" ]; then
|
|
rm -rf /etc/frr /var/run/frr /var/log/frr
|
|
userdel frr >/dev/null 2>&1 || true
|
|
fi
|
|
|
|
#DEBHELPER#
|