fix
authorThorsten Glaser <tg@mirbsd.org>
Sun, 2 Mar 2014 13:49:54 +0000 (13:49 +0000)
committerThorsten Glaser <tg@mirbsd.org>
Sun, 2 Mar 2014 13:49:54 +0000 (13:49 +0000)
bash-ksh/profile-funcs

index bf72443..46b991b 100644 (file)
@@ -23,7 +23,7 @@ pts() {
        elif [[ $p = bp:* ]]; then
                ${BROWSER:-lynx} "http://buildd.debian-ports.org/status/package.php?p=${p#bp:}"
        elif [[ $p = f:* ]]; then
-               ${BROWSER:-lynx} "http://packages.debian.org/search?searchon=contents&keywords=${p#f:}&mode=path&suite=unstable&arch=any"
+               ${BROWSER:-lynx} "http://packages.debian.org/search?searchon=contents&keywords=${1#f:}&mode=path&suite=unstable&arch=any"
        else
                ${BROWSER:-lynx} "http://packages.debian.org/sid/$p"
        fi