Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
}
checkconfig() {
- if [ ! -e "${GIMPS_DIR}" ]; then
- einfo "Creating ${GIMPS_DIR}"
- /bin/mkdir "${GIMPS_DIR}"
- fi
-
- /bin/chown -R ${USER}:${GROUP} ${GIMPS_DIR}
+ checkpath -d -o ${USER}:${GROUP} ${GIMPS_DIR}
if [ ! -e "${GIMPS_DIR}/local.txt" ]; then
eerror "GIMPS has not been configured. Please configure it manually before"
einstalldocs
- newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps
+ newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps
newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps
systemd_dounit "${FILESDIR}/${PN}.service"
einstalldocs
- newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps
+ newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps
newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps
systemd_dounit "${FILESDIR}/${PN}.service"