File: preinst

package info (click to toggle)
tmux 1.9-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,912 kB
  • ctags: 3,263
  • sloc: ansic: 32,468; sh: 4,311; awk: 339; makefile: 248
file content (10 lines) | stat: -rwxr-xr-x 239 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

# Versions before 1.5-2 did not properly disable the tmux-cleanup init script.
if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" 'lt' "1.5-2"; then
    update-rc.d -f tmux-cleanup remove >/dev/null
fi

#DEBHELPER#