diff options
Diffstat (limited to 'debian/libxbase64-dev.postinst')
-rw-r--r-- | debian/libxbase64-dev.postinst | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/debian/libxbase64-dev.postinst b/debian/libxbase64-dev.postinst index d684003..4b2aaf7 100644 --- a/debian/libxbase64-dev.postinst +++ b/debian/libxbase64-dev.postinst @@ -24,15 +24,7 @@ case "$1" in configure) # Replace documentation directory with symlink - if [ -d /usr/share/doc/libxbase64-dev ] && [ ! -L /usr/share/doc/libxbase64-dev ]; then - if rmdir /usr/share/doc/libxbase64-dev 2>/dev/null; then - ln -sf libxbase64-doc /usr/share/doc/libxbase64-dev - else - echo "Remove nonempty doc directory to doc/libxbase64-1.bak" - mv /usr/share/doc/libxbase64-dev /usr/share/doc/libxbase64-dev.bak - ln -sf libxbase64-doc /usr/share/doc/libxbase64-dev - fi - fi + dpkg-maintscript-helper dir_to_symlink /usr/share/doc/libxbase64-dev /usr/share/doc/libxbase64-doc 3.1.2-4 -- "$@" ;; abort-upgrade|abort-remove|abort-deconfigure) |