diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:20:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:20:21 +0000 |
commit | ef3904423d3301d87b4b499b7e5feb359d622405 (patch) | |
tree | 981032c10096a70b0cb95ea74de48492f9f08251 /debian/screen.preinst | |
parent | Adding upstream version 4.6.2. (diff) | |
download | screen-ef3904423d3301d87b4b499b7e5feb359d622405.tar.xz screen-ef3904423d3301d87b4b499b7e5feb359d622405.zip |
Adding debian version 4.6.2-3+deb10u1.debian/4.6.2-3+deb10u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/screen.preinst')
-rw-r--r-- | debian/screen.preinst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/screen.preinst b/debian/screen.preinst new file mode 100644 index 0000000..a55748b --- /dev/null +++ b/debian/screen.preinst @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +if [ "$1" = upgrade ]; then + if dpkg --compare-versions "$2" lt-nl 4.0.3-7 && \ + dpkg --compare-versions "$2" gt 4.0.3-3; then + if ! test -L /tmp/.screen && test -d /tmp/.screen && test -n "`find /tmp/.screen -type p 2>/dev/null`"; then + ln -s /tmp/.screen /run/screen + fi + fi +fi + +#DEBHELPER# |