~ubuntu-branches/ubuntu/precise/bugzilla/precise

« back to all changes in this revision

Viewing changes to debian/post-checksetup.d/15restoredpkgstatoverride

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2010-11-20 05:51:25 UTC
  • mfrom: (9.1.21 sid)
  • Revision ID: james.westby@ubuntu.com-20101120055125-e0dskve65d3gq3u3
Tags: 3.6.3.0-2
* Support for noninteractive mode in Debconf. Closes: #602738
* Added missing package dependency against liburi-perl. Removed non exsiting
  package option libgd-noxpm-perl.
* Urgency set to medium because previous version is not accepted for
  testing.
* Parallel build for Makefiles is working now.
* Surrpress error messages for non existing template directories if
  checksetup fails (in noninteractive mode).
* Extensions are not installed by default. They exist as documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
# Please read the post-checksetup.d/10setdefaultdpkgstatoverride about how
10
10
# to speed up the processing of "$BUGZILLA_VARDIR"/templates
11
 
for d in `find "$BUGZILLA_VARDIR"/template -mindepth 1 -type d`; do
 
11
for d in `find "$BUGZILLA_VARDIR"/template -mindepth 1 -type d 2>/dev/null`; do
12
12
        chmod --reference="$BUGZILLA_VARDIR"/template "$d"
13
13
        chown --reference="$BUGZILLA_VARDIR"/template "$d"
14
14
done
15
 
for f in `find "$BUGZILLA_VARDIR"/template -mindepth 1 -type f`; do
 
15
for f in `find "$BUGZILLA_VARDIR"/template -mindepth 1 -type f 2>/dev/null`; do
16
16
        test "$f" = "$BUGZILLA_VARDIR"/template/en/default/index.html.tmpl && continue
17
17
        chmod --reference="$BUGZILLA_VARDIR"/template/en/default/index.html.tmpl "$f"
18
18
        chown --reference="$BUGZILLA_VARDIR"/template/en/default/index.html.tmpl "$f"
19
19
done
20
20
# Access rights for the $BUGZILLA_DATADIR/template content are the same as
21
21
# for the source files.
22
 
for d in `find $BUGZILLA_DATADIR/template -mindepth 1 -type d`; do
 
22
for d in `find $BUGZILLA_DATADIR/template -mindepth 1 -type d 2>/dev/null`; do
23
23
        chmod --reference="$BUGZILLA_VARDIR"/template "$d"
24
24
        chown --reference="$BUGZILLA_VARDIR"/template "$d"
25
25
done
26
 
for f in `find $BUGZILLA_DATADIR/template -mindepth 1 -type f`; do
 
26
for f in `find $BUGZILLA_DATADIR/template -mindepth 1 -type f 2>/dev/null`; do
27
27
        chmod --reference="$BUGZILLA_VARDIR"/template/en/default/index.html.tmpl "$f"
28
28
        chown --reference="$BUGZILLA_VARDIR"/template/en/default/index.html.tmpl "$f"
29
29
done