rocprofiler: Consider apt upgrade operation check in package scripts.

Include the upgrade operation check in the prerm script
in package.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
Change-Id: Ia2bf70bc3c8ce4ddb099ac58f32e165a0fe58824


[ROCm/rocprofiler commit: 39ca27d923]
Este commit está contenido en:
Saravanan Solaiyappan committed 2022-03-21 23:38:14 -04:00
1 padre b9d8cc066a
commit 103f41f210
1 file changed
+1 -1
+1 -1
Ver fichero
@@ -11,7 +11,7 @@ rm_ldconfig() {
}
case "$1" in
( remove )
( remove | upgrade )
rm_ldconfig
;;
( purge )