diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dropbear/dropbear.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/dropbear/dropbear.inc b/packages/dropbear/dropbear.inc index 168cedbf8a..26e3235b92 100644 --- a/packages/dropbear/dropbear.inc +++ b/packages/dropbear/dropbear.inc @@ -59,8 +59,9 @@ do_install() { -e 's,/usr/bin,${bindir},g' \ -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/dropbear chmod 755 ${D}${sysconfdir}/init.d/dropbear - test -e ${WORKDIR}/default && \ - install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/dropbear + if test -e ${WORKDIR}/default ; then + install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/dropbear + fi } pkg_postinst () { |