aports/main/llvm15/llvm15.pre-upgrade
psykose e00cc30b26 main/llvm15: move from community
needed for mesa again
2023-04-15 17:00:14 +02:00

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