diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:41:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:41:01 +0000 |
commit | a1c8c315b487542ec54c92c091f3f4ab5644fb54 (patch) | |
tree | b68af5b092e9f2ca59caea1252a6babf78283bf6 /debian/preinst | |
parent | Adding upstream version 3.3a. (diff) | |
download | tmux-a1c8c315b487542ec54c92c091f3f4ab5644fb54.tar.xz tmux-a1c8c315b487542ec54c92c091f3f4ab5644fb54.zip |
Adding debian version 3.3a-3.debian/3.3a-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/preinst')
-rwxr-xr-x | debian/preinst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst new file mode 100755 index 0000000..a22b4d2 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,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# |