~ubuntu-branches/ubuntu/intrepid/gconf/intrepid

« back to all changes in this revision

Viewing changes to debian/libgconf2-dev.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2007-11-01 18:47:26 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071101184726-6pwvvvwzzky513dy
Tags: 2.20.1-1
* Add a "--register-all" option to gconf-schemas, to rebuild the GConf
  defaults database from scratch.
* New upstream translation and minor bugfix release.
* Rename the source package to gconf, to remove the (finally unused!)
  GConf 1 stuff.
* gconf2.postinst:
  + Run gconf-schemas --register-all on the first installation. This
    allows installing packages shipping gconf schemas but not
    depending on gconf2.
  + Also run update-gconf-defaults.
* gconf2.postrm: remove the directory contents in /var/lib/gconf/*/ to 
  enforce a correct behavior in the postinst.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
DOCDIR=/usr/share/gtk-doc/html/gconf
 
6
if [ -d "$DOCDIR" ]; then
 
7
    if [ ! -L "$DOCDIR" ]; then
 
8
        rmdir "$DOCDIR"
 
9
        ln -s ../../doc/gconf2/html "$DOCDIR"
 
10
    fi
 
11
fi
 
12
 
 
13
#DEBHELPER#