[aur-dev] [PATCH] Fix main site package search URL

Lukas Fleischer archlinux at cryptocrack.de
Tue Mar 15 10:46:52 EDT 2011


On Tue, Mar 15, 2011 at 09:24:56AM -0500, Dan McGee wrote:
> I've been wanting to kill this one for a long time.
> 
> Signed-off-by: Dan McGee <dan at archlinux.org>
> ---
>  web/template/pkg_details.php |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
> index eac7b69..1a1e611 100644

> +++ b/web/template/pkg_details.php
> @@ -118,7 +118,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
>  				# $darr[3] is the DepCondition
>  				echo " <a href='packages.php?ID=".$darr[0]."'>".$darr[1].$darr[3]."</a>";
>  			} else {
> -				echo " <a href='http://www.archlinux.org/packages/search/?q=".$darr[1]."'>".$darr[1].$darr[3]."</a>";
> +				echo " <a href='http://www.archlinux.org/packages/?q=".$darr[1]."'>".$darr[1].$darr[3]."</a>";
>  			}
>  		}
>  
> @@ -135,7 +135,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
>  			if ($darr[2] == 0) {
>  				echo " <a href='packages.php?ID=".$darr[0]."'>".$darr[1]."</a>";
>  			} else {
> -				print "<a href='http://www.archlinux.org/packages/search/?q=".$darr[1]."'>".$darr[1]."</a>";
> +				print "<a href='http://www.archlinux.org/packages/?q=".$darr[1]."'>".$darr[1]."</a>";
>  			}
>  		}
>  
> -- 
> 1.7.4.1

Pushed, thanks!


More information about the aur-dev mailing list