Merge bk://openembedded@openembedded.bkbits.net/packages
authorRene Wagner <rw@handhelds.org>
Wed, 1 Sep 2004 20:56:31 +0000 (20:56 +0000)
committerRene Wagner <rw@handhelds.org>
Wed, 1 Sep 2004 20:56:31 +0000 (20:56 +0000)
into sugarcube.dyndns.org:/home2/oe/oe/packages

2004/09/01 22:36:27+02:00 uni-frankfurt.de!mickey
fix the dropbear fix

BKrev: 4136377fQnWkV-8mdyEW1tX1S9zdeg

dropbear/dropbear_0.43+0.44test3.oe

index 0fc8736..b29ce2d 100644 (file)
@@ -49,14 +49,13 @@ do_install () {
 }
 
 pkg_postinst_append () {
-
-if [ ! -n "$D"  ]; then
-if [ ! -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then
+  if [ -n "$D"  ]; then exit 1; fi
+  if [ ! -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then
         dropbearkey -t rsa -f ${sysconfdir}/dropbear/dropbear_rsa_host_key
-fi
-#if [ ! -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then
-#       dropbearkey -t dss -f ${sysconfdir}/dropbear/dropbear_dss_host_key
-#fi
+  fi
+  #if [ ! -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then
+  #       dropbearkey -t dss -f ${sysconfdir}/dropbear/dropbear_dss_host_key
+  #fi
 }
 
 pkg_postrm_append () {