annotate debian/preinst @ 439:e97ef1e08970 noffle

[svn] * NEWS: Update for 1.1.5.
author bears
date Wed, 25 Jun 2003 10:55:16 +0100
parents b8a73c90bfde
children bfdba1698a58
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
1 #!/bin/sh
401
b8a73c90bfde [svn] update
godisch
parents: 324
diff changeset
2 # $Id: preinst 543 2003-06-03 21:26:47Z godisch $
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
3
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
4 set -e
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
5
401
b8a73c90bfde [svn] update
godisch
parents: 324
diff changeset
6 if [ -d /var/spool/noffle/lock ]; then
b8a73c90bfde [svn] update
godisch
parents: 324
diff changeset
7 if [ -d /var/lock/noffle ]; then
b8a73c90bfde [svn] update
godisch
parents: 324
diff changeset
8 rm -rf /var/spool/noffle/lock
b8a73c90bfde [svn] update
godisch
parents: 324
diff changeset
9 else
b8a73c90bfde [svn] update
godisch
parents: 324
diff changeset
10 mv /var/spool/noffle/lock /var/lock/noffle || true
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
11 fi
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
12 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
13
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
14 exit 0