diff options
Diffstat (limited to 'po')
-rwxr-xr-x | po | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +#!/bin/sh +if [ ! -d .osc ] ; then + echo 'This program must be run from an OBS project directory.' + exit 42 +fi + +if [ -f .osc/_packages ] ; then + apiurl=$(cat .osc/_apiurl) + project=$(cat .osc/_project) + xdg-open "${apiurl}/project/show/${project}" +else + apiurl=$(cat .osc/_apiurl) + project=$(cat .osc/_project) + package=$(cat .osc/_package) + xdg-open "${apiurl}/package/show/${project}/${package}" +fi |