Mercurial > noffle
annotate debian/preinst @ 401:b8a73c90bfde noffle
[svn] update
author | godisch |
---|---|
date | Tue, 03 Jun 2003 22:26:47 +0100 |
parents | 5ec39beae9c5 |
children | bfdba1698a58 |
rev | line source |
---|---|
301 | 1 #!/bin/sh |
401 | 2 # $Id: preinst 543 2003-06-03 21:26:47Z godisch $ |
301 | 3 |
4 set -e | |
5 | |
401 | 6 if [ -d /var/spool/noffle/lock ]; then |
7 if [ -d /var/lock/noffle ]; then | |
8 rm -rf /var/spool/noffle/lock | |
9 else | |
10 mv /var/spool/noffle/lock /var/lock/noffle || true | |
301 | 11 fi |
324 | 12 fi |
301 | 13 |
14 exit 0 |