summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/flx-init-scripts.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/flx-init-scripts.eclass b/eclass/flx-init-scripts.eclass
index 8b49968c..b28826cb 100644
--- a/eclass/flx-init-scripts.eclass
+++ b/eclass/flx-init-scripts.eclass
@@ -40,6 +40,9 @@ flx-init-scripts_src_prepare() {
fi
done
+ if [[ ! -f "add-ons/${SVCNAME}" ]] ; then
+ die "No init script found"
+ fi
}
flx-init-scripts_src_install() {