postinst is in tmux 2.1-3build1.
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 12 13 | #!/bin/sh
set -e
if [ "$1" = "configure" ]; then
if [ -z "$2" ] || dpkg --compare-versions "$2" lt "1.5-3"; then
add-shell /usr/bin/tmux
fi
fi
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/init.d/tmux-cleanup 1.4-6 -- "$@"
# End automatically added section
|