Mercurial > noffle
view debian/preinst @ 331:ff7a2dc6023e noffle
[svn] * src/client.c,src/group.c: Reunite forbidden group comment with code, and
revise forbidden rules to allow single component names except for some
specific ones.
author | bears |
---|---|
date | Wed, 26 Feb 2003 11:30:41 +0000 (2003-02-26) |
parents | 5ec39beae9c5 |
children | b8a73c90bfde |
line wrap: on
line source
#!/bin/sh # $Id: preinst 459 2003-02-22 21:54:34Z godisch $ set -e if [ "$1" = install -o "$1" = upgrade ]; then # this directory may still exist because of old lock files, # make sure the symlink can be installed if [ -d /var/spool/noffle/lock ]; then if [ -d /var/lock/noffle ]; then rm -rf /var/spool/noffle/lock else mv /var/spool/noffle/lock /var/lock/noffle || : fi fi fi exit 0