File: doccentral

package info (click to toggle)
doc-central 1.9.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 148 kB
  • sloc: python: 440; sh: 22; makefile: 2
file content (15 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

hostname="$DC_HOST"

if [ -z "$hostname" ]; then
    hostname="localhost"
fi

if [ -n "$1" ]; then
    exec sensible-browser http://$hostname/cgi-bin/doc-central/viewdoc.cgi?keyword=$1
else
    exec sensible-browser http://$hostname/dc/
fi