File: postinst

package info (click to toggle)
ndppd 0.2.5-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 268 kB
  • sloc: cpp: 2,178; sh: 83; makefile: 36
file content (18 lines) | stat: -rw-r--r-- 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

case "$1" in
  configure)
    if [ -n "$2" ] && dpkg --compare-versions "$2" lt-nl 0.2.5-6~
    then
      # Buster version can't be stopped. See #942117
      if [ -f /var/run/ndppd.pid ]
      then
        chmod 644 /var/run/ndppd.pid
      fi
    fi
  ;;
esac

#DEBHELPER#