~ubuntu-branches/debian/stretch/dropbear/stretch

« back to all changes in this revision

Viewing changes to debian/dropbear.postinst

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape, Matt Johnston, Gerrit Pape
  • Date: 2013-10-25 15:00:48 UTC
  • mfrom: (1.4.6)
  • Revision ID: package-import@ubuntu.com-20131025150048-3jq765x96xayk392
Tags: 2013.60-1
[ Matt Johnston ]
* New upstream release.

[ Gerrit Pape ]
* debian/diff/0004-cve-2013-4421.diff, 0005-user-disclosure.diff:
  remove; fixed upstream.
* debian/dropbear.postinst: don't fail if initramfs-tools it not
  installed (closes: #692653).

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
 
64
64
# cryptroot support (debian@x.ray.net)
65
65
#   if dropbear is to be installed to initramfs, we have to update initramfs.
66
 
if ( test -r /etc/initramfs-tools/initramfs.conf || test -r /usr/share/initramfs-tools/conf-hooks.d/* ) &&
 
66
if test -r /etc/initramfs-tools/initramfs.conf &&
67
67
   test -x /usr/sbin/update-initramfs; then
68
68
  for i in /etc/initramfs-tools/initramfs.conf /usr/share/initramfs-tools/conf-hooks.d/*; do
69
 
    if [ -e "${i}" ]; then
70
 
      . "${i}"
71
 
    fi
 
69
    test ! -r "$i" || . "$i"
72
70
  done
73
71
  if test "${DROPBEAR}" = "y" || test -r "/etc/crypttab"; then
74
72
    # here we could read the configured network-config, and use it for