aboutsummaryrefslogblamecommitdiff
path: root/common/hooks/post-install/01-remove-misc.sh
blob: 06e8c19473134340322aaf16bc7fb05f2cd19ba5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                         
# 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
}