The installer deletes obsolete libLLVM.so versions during an upgrade.
However, a number of libLLVM.so versions have come and gone and the
installer hasn't been synced. We're now at .7.0, so delete all the
earlier ones.
ok?
-----------------------------------------------
remove obsolete libLLVM.so.[0-6].0 during upgrade
diff 4e440c72920f8bfbe8fe8a752bd5eafff5c4c644
8593f3cca4c3f1bbac0f69172c991145b5bead7f
commit - 4e440c72920f8bfbe8fe8a752bd5eafff5c4c644
commit + 8593f3cca4c3f1bbac0f69172c991145b5bead7f
blob - 954feb267763c40f0761fc1144ea5a6f4f47574f
blob + 3a276cf34810970279dbc514330cfddcba00968b
--- distrib/miniroot/install.sub
+++ distrib/miniroot/install.sub
@@ -1761,7 +1761,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
--
Christian "naddy" Weisgerber [email protected]