From bfea525ff38aed3448653a5d6bbfaae73353287b Mon Sep 17 00:00:00 2001 From: Saravanan Solaiyappan Date: Mon, 21 Mar 2022 13:37:35 -0400 Subject: [PATCH] roctracer: Consider apt upgrade operation check in package scripts. Include the upgrade operation check in the prerm script in package. Signed-off-by: Saravanan Solaiyappan Change-Id: I1504ce96a27d21d9c3d9bafc0dea8055398adc99 --- DEBIAN/prerm.in | 2 +- inc/ext/DEBIAN/prerm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)