Merge branch 'master' of git+ssh://mirabilos@evolvis.org/scmrepos/git/shellsnippets...
[shellsnippets/shellsnippets.git] / bash-ksh / profile-funcs
index 2d662b6..300ecc4 100644 (file)
@@ -1,7 +1,7 @@
 # Debian Bug Tracking System
 bts() {
        if [[ $1 = +([0-9]) ]]; then
-               ${BROWSER:-lynx} "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=$1"
+               ${BROWSER:-lynx} "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=$1"
        elif [[ $1 = lp:+([0-9]) ]]; then
                ${BROWSER:-lynx} "https://bugs.launchpad.net/bugs/${1#lp:}"
        else
@@ -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"
        elif [[ $p = p:* ]]; then
                ${BROWSER:-lynx} "http://packages.debian.org/${p#p:}"
        elif [[ $p = ap:* ]]; then