~ubuntu-branches/ubuntu/intrepid/bugzilla/intrepid

« back to all changes in this revision

Viewing changes to debian/maintenance/15_collectstats.sh

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Where to find the duplicats.cgi script.
 
3
 
 
4
set -e
 
5
 
 
6
echo "> $0 $*"
 
7
 
 
8
for f in `find $1 -type f`; do
 
9
        if grep -q '\-T duplicates\.cgi' $f; then
 
10
                cp -p $f $f.new
 
11
                sed -e "s,-T duplicates\.cgi ,-T /usr/lib/cgi-bin/bugzilla3/duplicates.cgi ,g" $f > $f.new
 
12
                diff -u $f $f.new || true
 
13
                mv -f $f.new $f
 
14
        fi
 
15
done