annotate debian/preinst @ 391:6cb66f5a0479
noffle
[svn] * docs/noffle.1,src/configure.h,src/configfile.c,src/noffle.c: Add optional
"auth" parameter to '--server' option. This turns on client authorisation
regardless of the setting of authenticate-client. Useful if you want the
same Noffle to authenticate or not depending on what/how it gets invoked.
author |
bears |
date |
Fri, 23 May 2003 10:33:10 +0100 |
parents |
5ec39beae9c5 |
children |
b8a73c90bfde |
rev |
line source |
301
|
1 #!/bin/sh
|
324
|
2 # $Id: preinst 459 2003-02-22 21:54:34Z godisch $
|
301
|
3
|
|
4 set -e
|
|
5
|
324
|
6 if [ "$1" = install -o "$1" = upgrade ]; then
|
301
|
7 # this directory may still exist because of old lock files,
|
|
8 # make sure the symlink can be installed
|
|
9 if [ -d /var/spool/noffle/lock ]; then
|
|
10 if [ -d /var/lock/noffle ]; then
|
312
|
11 rm -rf /var/spool/noffle/lock
|
301
|
12 else
|
|
13 mv /var/spool/noffle/lock /var/lock/noffle || :
|
|
14 fi
|
|
15 fi
|
324
|
16 fi
|
301
|
17
|
|
18 exit 0
|