preinst is in needrestart 3.1-1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 | #!/bin/sh
set -e
dpkg-maintscript-helper rm_conffile /etc/needrestart/hook.d/30-pacman 1.0-1 -- "$@"
|