1
0
Fork 0
linux/debian/linux-perf.postinst
Daniel Baumann 09ce90cf76
Adding debian version 6.12.33-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 12:15:16 +02:00

11 lines
287 B
Bash

#!/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#