Mercurial > noffle
view debian/preinst @ 444:bfdba1698a58 noffle
[svn] update
author | godisch |
---|---|
date | Wed, 25 Jun 2003 16:58:44 +0100 |
parents | b8a73c90bfde |
children | cd2efc06a6e1 |
line wrap: on
line source
#!/bin/sh # $Id: preinst 587 2003-06-25 15:58:44Z godisch $ set -e mkdir -p /etc/news if [ ! -e /etc/news/noffle.conf ]; then if [ -e /etc/noffle/noffle.conf ]; then mv -fb /etc/noffle/noffle.conf /etc/news elif [ -e /etc/noffle.conf ]; then mv -fb /etc/noffle.conf /etc/news fi fi if [ -e /etc/noffle/conf.debian -a ! -e /etc/default/noffle ]; then mv -fb /etc/noffle/conf.debian /etc/default/noffle fi mv /etc/noffle /etc/news/noffle.old 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 || true fi fi exit 0