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]
This commit is contained in:
@@ -11,7 +11,7 @@ rm_ldconfig() {
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
( remove )
|
||||
( remove | upgrade )
|
||||
rm_ldconfig
|
||||
;;
|
||||
( purge )
|
||||
|
||||
Reference in New Issue
Block a user