diff --git a/DEBIAN/prerm.in b/DEBIAN/prerm.in index f19ee54882..9c76ec0e65 100644 --- a/DEBIAN/prerm.in +++ b/DEBIAN/prerm.in @@ -11,7 +11,7 @@ rm_ldconfig() { } case "$1" in - ( remove ) + ( remove | upgrade ) rm_ldconfig ;; ( purge ) diff --git a/inc/ext/DEBIAN/prerm b/inc/ext/DEBIAN/prerm index 3dbce5a8d1..d0b2598c35 100644 --- a/inc/ext/DEBIAN/prerm +++ b/inc/ext/DEBIAN/prerm @@ -7,7 +7,7 @@ rm_pkgconfig() { } case "$1" in - remove) + remove | upgrade ) rm_pkgconfig ;; purge)