diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 05:17:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 05:17:56 +0000 |
commit | fab30bd3b46a457e2c5c9a441dd2bb1eccee5462 (patch) | |
tree | 5c84363e342e50c998639aeb1785cbd4f3300363 /debian/postinst.in | |
parent | Adding derivative version file for Progress Linux 6 (fuchur). (diff) | |
download | base-files-fab30bd3b46a457e2c5c9a441dd2bb1eccee5462.tar.xz base-files-fab30bd3b46a457e2c5c9a441dd2bb1eccee5462.zip |
Merging dpkg origin file for Progress Linux.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postinst.in')
-rw-r--r-- | debian/postinst.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/postinst.in b/debian/postinst.in index 5dcb796..98e0865 100644 --- a/debian/postinst.in +++ b/debian/postinst.in @@ -44,6 +44,13 @@ update_to_current_default() { fi } +# remove debian origin default symlink +if [ -h /etc/dpkg/origins/default ]; then + if [ "`readlink /etc/dpkg/origins/default`" = "debian" ]; then + rm -f /etc/dpkg/origins/default + fi +fi + if [ ! -e /etc/dpkg/origins/default ]; then if [ -e /etc/dpkg/origins/#VENDORFILE# ]; then ln -sf #VENDORFILE# /etc/dpkg/origins/default |