File: postinst

package info (click to toggle)
tmux 2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,728 kB
  • sloc: ansic: 41,224; sh: 4,188; awk: 339; makefile: 181
file content (11 lines) | stat: -rwxr-xr-x 167 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
#!/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

#DEBHELPER#