1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-22 14:41:04 +01: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
}