File: smartmontools.postinst

package info (click to toggle)
smartmontools 7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,740 kB
  • sloc: cpp: 49,345; ansic: 9,924; sh: 6,043; makefile: 962
file content (15 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

# Remove shutdown and reboot links; this init script does not need them.
case "$1" in
  configure)
    ## https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976696
    ## TODO: As suggested in #976696, it would be better to avoid replacing
    ## newer "drivedb.h" unconditionally if user updated it with
    ## "update-smart-drivedb".
    cp -f /usr/share/smartmontools/drivedb.h  /var/lib/smartmontools/drivedb/
  ;;
esac

#DEBHELPER#