File: libnfc6.postinst

package info (click to toggle)
libnfc 1.8.0-3.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,864 kB
  • sloc: ansic: 18,590; makefile: 406; sh: 211
file content (19 lines) | stat: -rw-r--r-- 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# postinst script for libnfc

set -e

# begin-remove-after: released:forky
# protective diversion of files moved from / to /usr, to avoid file loss.
# Only for upgrades.
if [ "$1" = "configure" ]; then
    # At this point, the package will have installed the same file in */usr*.
    dpkg-divert --package usr-is-merged --no-rename \
        --divert /lib/udev/rules.d/93-pn53x.rules.usr-is-merged \
        --remove /lib/udev/rules.d/93-pn53x.rules
fi
# end-remove-after

#DEBHELPER#

exit 0