~ubuntu-branches/ubuntu/hardy/steam/hardy

« back to all changes in this revision

Viewing changes to debian/steam.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Alain Schroeder
  • Date: 2006-11-21 16:03:12 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061121160312-nf96y6nihzsyd2uv
Tags: 2.2.31-3
Add patch to prevent inconsistent data after shutdown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
. /usr/share/debconf/confmodule
 
3
# source dbconfig-common shell library, and call the hook function
 
4
if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
 
5
        . /usr/share/dbconfig-common/dpkg/postrm.mysql
 
6
fi
 
7
 
 
8
# dh_installdeb will replace this with shell code automatically
 
9
# generated by other debhelper scripts.
 
10
 
 
11
#DEBHELPER#
 
12
 
 
13
if [ "$1" = "purge" ] && [ -e /var/lib/steam ]; then
 
14
       rm -rf /var/lib/steam
 
15
       rm /etc/steam/steam.cer
 
16
fi
 
17
 
 
18
exit 0
 
19
 
 
20