File: postrm

package info (click to toggle)
lambdacore 02feb97-12
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 2,180 kB
  • sloc: perl: 106; makefile: 34; sh: 13
file content (7 lines) | stat: -rw-r--r-- 216 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh -e

# If we are purging, remove all backup copies of the database.
if [ "$1" = "purge" ] ; then
	rm -f /var/lib/lambdamoo/lambdacore.db{.new,.old.gz,.old}
	rm -f /var/lib/lambdamoo/lambdacore.db.new.#*#
fi