Go to 1024 columns, as 200 causes truncation in some cases
authorJamie Cameron <jcameron@webmin.com>
Tue, 23 Mar 2010 18:31:11 +0000 (11:31 -0700)
committerJamie Cameron <jcameron@webmin.com>
Tue, 23 Mar 2010 18:31:11 +0000 (11:31 -0700)
software/debian-lib.pl

index 624509c..a5bec55 100755 (executable)
@@ -13,7 +13,7 @@ sub list_packages
 local $i = 0;
 local $arg = @_ ? join(" ", map { quotemeta($_) } @_) : "";
 %packages = ( );
-&open_execute_command(PKGINFO, "COLUMNS=200 dpkg --list $arg", 1, 1);
+&open_execute_command(PKGINFO, "COLUMNS=1024 dpkg --list $arg", 1, 1);
 while(<PKGINFO>) {
        next if (/^\|/ || /^\+/);
        if (/^[uirph]i..(\S+)\s+(\S+)\s+(.*)/) {