Commit | Line | Data |
---|---|---|
b7cfede0 BK |
1 | #! /bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | # Purges the database and log files created by the package. We assume that | |
6 | # it's safe to do this for database files since they're normally transferred | |
7 | # via Ubik to other hosts. | |
8 | if [ "$1" = 'purge' ] ; then | |
9 | for file in prdb.DB0 prdb.DBSYS1 vldb.DB0 vldb.DBSYS1 ; do | |
10 | rm -f "/var/lib/openafs/db/$file" | |
11 | done | |
12 | for file in PtLog PtLog.old VLLog VLLog.old ; do | |
13 | rm -f "/var/log/openafs/$file" | |
14 | done | |
15 | fi | |
16 | ||
17 | #DEBHELPER# |