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

Re: Can we upload binaries using libc6 to hamm yet?



Hi Helmut,

On the question of checking for installed packages in a /usr/bin/gcc script, how about if you just check for the presence of a file,
rather than using dpkg -l.  i.e.:

  if attempting_lib6_build
    if test -e /lib/libc.so.6
    then
      do_libc6_build
    else
      # maybe use dpkg -l to check what is really going on
      die_with_warning_about_missing_libc6
    fi
  fi

The ``test -e'' should not be a significant overhead.

Cheers, Phil. 



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: