Blob Blame Raw

pkinstall_release() {
    copy "$INSTALL_PACKET_DIR" "$INSTALL_RELEASE_PACKET_DIR" || return 1

    rm -rf "$INSTALL_RELEASE_PACKET_DIR/include"
    remove_recursive "$INSTALL_RELEASE_PACKET_DIR/lib" *.a
    remove_recursive "$INSTALL_RELEASE_PACKET_DIR/lib64" *.a
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/aclocal"
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/devhelp"
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/doc"
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/gtk-doc"
	rm -rf "$INSTALL_RELEASE_PACKET_DIR/share/man"
	
	if ! pkhook_postinstall_release; then
	    return 1
	fi
}