Browse Source

Remove old workaround for pre 5.1 ports dir layout

Markus Hennecke 5 năm trước cách đây
mục cha
commit
77b4f1aad8
1 tập tin đã thay đổi với 1 bổ sung8 xóa
  1. 1 8
      autoupdate.pl

+ 1 - 8
autoupdate.pl

@@ -314,14 +314,7 @@ sub read_update_package_list {
 	}
 
 	if (not defined $input) {
-		my $ood_path = 'infrastructure/';
-		my @uname = POSIX::uname();
-		if ($uname[2] >= 5.1) {
-			$ood_path .= 'bin';
-		}
-		else {
-			$ood_path .= 'build';
-		}
+		my $ood_path = 'infrastructure/bin';
 		my $cmd = "env PORTSDIR=\"$portsdir\" "
 		    . "\"$portsdir/$ood_path/pkg_outdated\" ";
 		unless (open($in, $cmd . '2>/dev/null |')) {