From 652fffaa0461832a93e0744994e3f1e33aa381e2 Mon Sep 17 00:00:00 2001 From: naddy Date: Thu, 9 Mar 2023 19:49:57 +0000 Subject: [PATCH] remove obsolete libLLVM.so.[0-6].0 during upgrade ok kn@ deraadt@ --- distrib/miniroot/install.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index d515102b9e1..8a242480021 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1232 2023/03/08 11:52:20 kn Exp $ +# $OpenBSD: install.sub,v 1.1233 2023/03/09 19:49:57 naddy Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer @@ -1765,7 +1765,7 @@ install_files() { if [[ $MODE == upgrade ]]; then if isin base$VERSION.tgz $_get_sets; then rm -f /mnt/usr/share/relink/usr/lib/* - rm -rf /mnt/usr/lib/libLLVM.so.[012].0 + rm -rf /mnt/usr/lib/libLLVM.so.[0-6].0 rm -rf /mnt/usr/libdata/perl5 fi if isin comp$VERSION.tgz $_get_sets; then -- 2.20.1