~ubuntu-branches/ubuntu/vivid/wine/vivid

« back to all changes in this revision

Viewing changes to debian/wine.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2008-05-30 08:48:53 UTC
  • mfrom: (1.1.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20080530084853-eoabeo8m5ai49vb5
Tags: 1.0-rc3-1ubuntu1
* New upstream release
  - Bugfixes only due to feature freeze pending 1.0 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh -e
2
 
if [ -e /usr/share/debconf/confmodule ]; then
3
 
    . /usr/share/debconf/confmodule
4
 
    db_purge
5
 
fi
 
2
 
 
3
if [ "$1" = "configure" ] ; then
 
4
 
 
5
  if [ -x /usr/sbin/update-binfmts ]; then
 
6
    /usr/sbin/update-binfmts --import wine || true
 
7
  fi
 
8
fi
 
9
 
 
10
if [ "$1" = "upgrade" ] ; then
 
11
        if ps -C wineserver > /dev/null && test -d /var/lib/update-notifier/user.d/ ; then
 
12
                cp -f /usr/share/wine/wineserver-restart-required.update-notifier /var/lib/update-notifier/user.d/wineserver-restart-required
 
13
        fi
 
14
fi
 
15
 
6
16
#DEBHELPER#
 
17
 
 
18