1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-09-20 04:23:19 +02:00
void-packages/common/hooks/post-install/01-remove-misc.sh
2024-03-29 08:12:19 +01:00

11 lines
236 B
Bash

# hook to remove misc files.
hook() {
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
*) return 0;;
esac
# Remove charset.alias on musl
if [ -f $PKGDESTDIR/usr/lib/charset.alias ]; then
rm -f $PKGDESTDIR/usr/lib/charset.alias
fi
}