retitle 374467 debhelper: should implement dpkg rollback functionality
thanks

dh_installdocs should be tweaked also:

postinst:
# Automatically added by dh_installdocs
if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
        install-docs -i /usr/share/doc-base/dc
fi
# End automatically added section

prerm:
# Automatically added by dh_installdocs
if [ "$1" = remove ] || [ "$1" = upgrade ] && \
   which install-docs >/dev/null 2>&1; then
        install-docs -r dc
fi
# End automatically added section

prerm should probably also happen in all the other cases:
failed-upgrade and deconfigure (the alternate "remove" "in-favour" is
already handled), and postinst should implement the rollback actions
as "abort-upgrade", "abort-remove" and "abort-deconfigure".

(Please also quote either all ((preferably)) or none of the second
comparison argument used in string comparisons for consistent).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to