2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-21 17:11:58 +00:00

Fix overzealous reaping of '-lib' folders

This commit is contained in:
Jarrod Johnson 2024-01-09 16:08:49 -05:00
parent cfccb046bc
commit 0dfe66f1b2

View File

@ -29,7 +29,7 @@ for lic in $(cat /tmp/tmpliclist); do
fname=$(basename $lo)
dlo=$(dirname $lo)
if [[ "$dlo" == *"-lib"* ]]; then
dlo=${dlo/-*}
dlo=${dlo/-lib*}
elif [[ "$dlo" == "device-mapper-"* ]]; then
dlo=${dlo/-*}-mapper
elif [[ "$dlo" == "bind-"* ]]; then