mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
11 lines
330 B
Bash
11 lines
330 B
Bash
#!/bin/sh
|
|
|
|
ver_old=$2
|
|
|
|
if [ "$(apk version -t "$ver_old" '0.6-r10')" = '<' ]; then
|
|
# .egg-info was changed from a file to a directory, so we have to remove it
|
|
# see https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10856
|
|
rm -f /usr/lib/python3.10/site-packages/iotop-0.6-py3.10.egg-info >/dev/null 2>&1
|
|
fi
|
|
|
|
exit 0
|