<commit_before>BOOT=		bootmisc fsck hostname localmount \
		root swap sysctl urandom
DEFAULT=	local netmount

LEVELDIR=	${DESTDIR}/${SYSCONFDIR}/runlevels
BOOTDIR=	${LEVELDIR}/boot
DEFAULTDIR=	${LEVELDIR}/default

MK=		../mk
include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/gitignore.mk
include Makefile.${OS}

all:

install:
	if ! test -d "${BOOTDIR}"; then \
		${INSTALL} -d ${BOOTDIR} || exit $$?; \
		for x in ${BOOT}; do \
			if test -n "${PREFIX}"; then \
				grep -q "keyword .*noprefix" ${PREFIX}/etc/init.d/"$$x" && continue; \
			fi; \
			ln -snf ${PREFIX}/etc/init.d/"$$x" ${BOOTDIR}/"$$x" || exit $$?; \
		done \
	fi
	if ! test -d "${DEFAULTDIR}"; then \
		${INSTALL} -d ${DEFAULTDIR} || exit $$?; \
		for x in ${DEFAULT}; do \
			if test -n "${PREFIX}"; then \
				grep -q "keyword .*noprefix" ${PREFIX}/etc/init.d/"$$x" && continue; \
			fi; \<commit_msg>Check the right dir for installed scripts.<commit_after>BOOT=		bootmisc fsck hostname localmount \
		root swap sysctl urandom
DEFAULT=	local netmount

LEVELDIR=	${DESTDIR}/${SYSCONFDIR}/runlevels
BOOTDIR=	${LEVELDIR}/boot
DEFAULTDIR=	${LEVELDIR}/default

MK=		../mk
include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/gitignore.mk
include Makefile.${OS}

all:

install:
	if ! test -d "${BOOTDIR}"; then \
		${INSTALL} -d ${BOOTDIR} || exit $$?; \
		for x in ${BOOT}; do \
			if test -n "${PREFIX}"; then \
				grep -q "keyword .*noprefix" ${SYSCONFDIR}/init.d/"$$x" && continue; \
			fi; \
			ln -snf ${PREFIX}/etc/init.d/"$$x" ${BOOTDIR}/"$$x" || exit $$?; \
		done \
	fi
	if ! test -d "${DEFAULTDIR}"; then \
		${INSTALL} -d ${DEFAULTDIR} || exit $$?; \
		for x in ${DEFAULT}; do \
			if test -n "${PREFIX}"; then \
				grep -q "keyword .*noprefix" ${SYSCONFDIR}/init.d/"$$x" && continue; \
			fi; \
{'fraction_non_alphanumeric': 0.2175379426644182, 'fraction_numerical': 0.0, 'mean_word_length': 3.1784037558685445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3697460', 'n_tokens_mistral': 749, 'n_tokens_neox': 701, 'n_words': 184}