1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-10 00:48:06 +01:00
void-packages/common/hooks/post-install/01-remove-misc.sh

12 lines
236 B
Bash
Raw Normal View History

2024-03-29 08:12:19 +01:00
# 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
}