[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#391619: p{re,ost}insts' comments contradict each other.



Package: initramfs-tools
Version: 0.80
Severity: minor

  Does  [ "$1" = "configure" ] && [ -n "$2" ] refers to an upgrade
or to a First time install?

  postinst cliams that:

     # Regenerate initramfs on upgrade
    if [ "$1" = "configure" ] && [ -n "$2" ]; then

  while in preinst,

    case "$1" in
        configure)
        if [ -n "$2" ]; then
                mkdir -p /etc/initramfs-tools/conf.d

                # First time install.  Can we autodetect the RESUME partition?





Reply to: