mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-14 03:39:53 +03:00
17 lines
324 B
Bash
17 lines
324 B
Bash
#!/bin/sh
|
|
|
|
ver_old="$2"
|
|
|
|
if [ "$(apk version -t "$ver_old" '2.3.0-r0')" = '<' ]; then
|
|
# See https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/11110
|
|
cat >&2 <<-EOF
|
|
*
|
|
* If you encounter errors "failed to rename ...", do the following:
|
|
*
|
|
* rm -rf /usr/lib/zigbee2mqtt
|
|
* apk fix zigbee2mqtt
|
|
*
|
|
EOF
|
|
fi
|
|
|
|
exit 0
|