postinst is in stow 2.2.0-2.
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 | #!/bin/sh
set -e
if [ ! -e /usr/local/stow ]; then
if mkdir /usr/local/stow 2>/dev/null; then
if chown root:staff /usr/local/stow; then
chmod 2775 /usr/local/stow || true
fi
fi
fi
|