ubuntu-22.04.3-desktop-amd64/casper/filesystem/var/lib/dpkg/info/libreoffice-writer.postrm

20 lines
674 B
Bash
Executable File

#!/bin/sh
set -e
# Automatically added by dh_installdeb/13.6ubuntu1
dpkg-maintscript-helper symlink_to_dir /usr/share/doc/libreoffice-writer /usr/share/doc/libreoffice-core 1:6.4.0\~alpha1\~git20191013 -- "$@"
# End automatically added section
# Automatically added by dh_ucf/13.6ubuntu1
if [ "$1" = "purge" ]; then
for ext in .ucf-new .ucf-old .ucf-dist ""; do
rm -f "/etc/libreoffice/registry/writer.xcd$ext"
done
if [ -x "`command -v ucf`" ]; then
ucf --purge "/etc/libreoffice/registry/writer.xcd"
fi
if [ -x "`command -v ucfr`" ]; then
ucfr --force --purge libreoffice-writer "/etc/libreoffice/registry/writer.xcd"
fi
fi
# End automatically added section