postinst is in switchsh 0~20070801-4.
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 6 7 8 9 10 11 | #!/bin/sh
set -e
bin=/usr/bin/switchsh
if [ "$1" = "configure" ] && output="$(LC_ALL=C dpkg-statoverride --list $bin)"; then
if [ "$output" = "root root 4755 $bin" ]; then
dpkg-statoverride --remove $bin
fi
fi
|