mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 20:46:41 +02:00
17 lines
349 B
Bash
17 lines
349 B
Bash
#!/bin/sh
|
|
|
|
ver_old=$2
|
|
|
|
if [ "$(apk version -t "$ver_old" '15.0.7-r1')" = '<' ]; then
|
|
# in 15.0.7-r1 we flipped the symlink/target dirs for include/cmake
|
|
# so we have to delete the symlink to allow apk to replace them..
|
|
# and only after an apk fix :/
|
|
|
|
# include
|
|
rm /usr/lib/llvm15/include
|
|
|
|
# cmake
|
|
rm /usr/lib/llvm15/lib/cmake/llvm
|
|
fi
|
|
|
|
exit 0
|