translation-update-upstream/upstream-gnome_gtp.hook
OBS User autobuild cb1664bc41 Accepting request 22521 from home:sbrabec:branches:openSUSE:Factory
Copy from home:sbrabec:branches:openSUSE:Factory/translation-update-upstream based on submit request 22521 from user sbrabec

OBS-URL: https://build.opensuse.org/request/show/22521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/translation-update-upstream?expand=0&rev=4
2009-10-21 00:01:28 +00:00

23 lines
725 B
Bash

#!/bin/bash
if test -z "$PACKAGE" ; then
echo "This is a hook file for upstream-collect.sh. It cannot be called separately."
exit 255
fi
# For other versions than sles10:
# Hack for nm-applet, which uses different hierrarchy than upstream:
#if test $DOMAIN = nm-applet ; then
# RPMPODIR=$(echo $RPMPKGDIR/BUILD/*/nm-applet-*/${DIR#*/})
#fi
# Hack for banshee and beagle, strangely placed to svn
if test $DOMAIN = banshee-1 ; then
REPODIR=banshee/banshee/po
fi
if test $DOMAIN = beagle -a "$BRANCH" = "" ; then
REPODIR=beagle/beagle/po
fi
# Hack for gnome-themes, which bundles several projects in SuSE:
if test $DOMAIN = gnome-themes ; then
RPMPODIR=$(echo $RPMPKGDIR/BUILD/gnome-themes-*/${DIR#*/})
fi