From ee8536fb62c8a81ea727b475a6793417d00b40b0 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 9 Dec 2019 11:34:23 +0300 Subject: Import gdb 8.3.1-1 --- debian/gdb-source.postinst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 debian/gdb-source.postinst (limited to 'debian/gdb-source.postinst') diff --git a/debian/gdb-source.postinst b/debian/gdb-source.postinst new file mode 100755 index 0000000..866ae56 --- /dev/null +++ b/debian/gdb-source.postinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# Replace documentation directory with symlink +if [ -d /usr/share/doc/gdb-source ] && [ ! -L /usr/share/doc/gdb-source ]; then + if rmdir /usr/share/doc/gdb-source 2>/dev/null; then + ln -sf gdb /usr/share/doc/gdb-source + fi +fi + +#DEBHELPER# + +exit 0 -- cgit v1.2.3