vlc-libs trigger fails when uninstalling vlc-plugins
I tried to fix the failure before I actually understood the problem https://git.alpinelinux.org/aports/tree/community/vlc/vlc-libs.trigger#n3.
However, it seems it will exit with 1 because there aren't actually any plugins installed anymore. Fixing it means checking if there is any plugin available in /usr/lib/vlc/plugins
. That could probably be done by checking if there is a folder inside there. If it is, there are plugins and the command should be executed. If it isn't, the command should be skipped.
I personally don't know how to check if a directory contains folders in a pure POSIX way.