avoid unitialised var

git-svn-id: http://emdebian.org/svn/current@7969 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
codehelp 2011-04-01 20:28:02 +00:00
parent f52e3ca1a9
commit f4a4e420ab

View file

@ -247,7 +247,7 @@ foreach my $pkg (values %keyrings) {
if ((defined $k) and (not defined $noauth)) { if ((defined $k) and (not defined $noauth)) {
# the keyring package must be available to the external apt # the keyring package must be available to the external apt
# and apt refuses to allow fakeroot to do this. # and apt refuses to allow fakeroot to do this.
my $str = ""; $str = "";
my $e=`LC_ALL=C printenv`; my $e=`LC_ALL=C printenv`;
if ($e !~ /\nFAKEROOTKEY=[0-9]+\n/) { if ($e !~ /\nFAKEROOTKEY=[0-9]+\n/) {
if (($e =~ /\nUSER=root\n/)) { if (($e =~ /\nUSER=root\n/)) {