diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:49:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:49:59 +0000 |
commit | 01997497f915e8f79871f3f2acb55ac465051d24 (patch) | |
tree | 1ce1afd7246e1014199e15cbf854bf7924458e5d /debian/linux-perf.prerm | |
parent | Adding upstream version 6.1.76. (diff) | |
download | linux-01997497f915e8f79871f3f2acb55ac465051d24.tar.xz linux-01997497f915e8f79871f3f2acb55ac465051d24.zip |
Adding debian version 6.1.76-1.debian/6.1.76-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/linux-perf.prerm')
-rw-r--r-- | debian/linux-perf.prerm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/linux-perf.prerm b/debian/linux-perf.prerm new file mode 100644 index 000000000..d38695a05 --- /dev/null +++ b/debian/linux-perf.prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +old_version_suffix="$(echo "$2" | sed -rn 's/^([0-9]+\.[0-9]+).*/\1/p')" +if [ "$old_version_suffix" ]; then + dpkg-maintscript-helper symlink_to_dir \ + /usr/share/doc/linux-perf "linux-perf-${old_version_suffix}" 5.16\~rc8-1\~exp1 linux-perf -- "$@" +fi + +#DEBHELPER# |