* Show output of installation of package with -i, since some packages

install scripts may have important output or even be interactive.
  Closes; #425732
This commit is contained in:
joey
2007-05-23 18:03:47 +00:00
parent f0c859c1c4
commit ffcb91fa04
6 changed files with 23 additions and 0 deletions

View File

@@ -66,8 +66,11 @@ sub install {
my $tgz=shift;
if (-x "/sbin/installpkg") {
my $v=$Alien::Package::verbose;
$Alien::Package::verbose=2;
$this->do("/sbin/installpkg", "$tgz")
or die "Unable to install";
$Alien::Package::verbose=$v;
}
else {
die "Sorry, I cannot install the generated .tgz file because /sbin/installpkg is not present. You can use tar to install it yourself.\n"