diff options
Diffstat (limited to 'autoscripts/prerm-doc')
-rw-r--r-- | autoscripts/prerm-doc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoscripts/prerm-doc b/autoscripts/prerm-doc index 5ae92d71..05abb495 100644 --- a/autoscripts/prerm-doc +++ b/autoscripts/prerm-doc @@ -1,3 +1,4 @@ -if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/#PACKAGE# ]; then +if [ "$1" = "upgrade" ] || [ "$1" = "remove" ] && [ -L /usr/doc/#PACKAGE# +then rm -f /usr/doc/#PACKAGE# fi |