9 lines
232 B
Bash
9 lines
232 B
Bash
#!/bin/sh
|
|
|
|
# symlink to directory confuses apk. remove it before the upgrade
|
|
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/11204
|
|
|
|
if [ "$(readlink /var/lib/nginx/tmp)" = "/var/tmp/nginx" ]; then
|
|
rm /var/lib/nginx/tmp
|
|
fi
|
|
|