mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-07 06:14:19 +02:00
13 lines
294 B
Bash
13 lines
294 B
Bash
#!/bin/sh
|
|
|
|
ver_old=$2
|
|
|
|
if [ "$(apk version -t "$ver_old" '16.0.0-r8')" = '<' ]; then
|
|
# in -r7 we changed this directory containing a symlink, to a symlink itself
|
|
# in -r8 we added the pre-upgrade, so check for < -r8
|
|
if [ -d /usr/lib/clang/16 ]; then
|
|
rm -r /usr/lib/clang/16
|
|
fi
|
|
fi
|
|
|
|
exit 0
|