Fix installation of openrc scripts

They must be executable.
This commit is contained in:
hasufell 2016-02-17 12:02:26 +01:00
parent cf029b7a93
commit 6f95ce41f6
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
2 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ DEFAULT_SRC_CONFIGURE_PARAMS=(
src_install() {
default
insinto /etc/init.d
newins "${FILES}"/umurmurd.initd umurmurd
exeinto /etc/init.d
doexe "${FILES}"/umurmurd.initd umurmurd
insinto /etc/conf.d
newins "${FILES}"/umurmurd.confd umurmurd
install_systemd_files

View File

@ -85,8 +85,8 @@ src_install() {
edo rm -r "${IMAGE%/}${HIAWATHA_WEBROOT_DIR}"/*
insinto /etc/init.d
newins "${TEMP}"/hiawatha.initd hiawatha
exeinto /etc/init.d
newexe "${TEMP}"/hiawatha.initd hiawatha
install_systemd_files
local i