Mercurial > noffle
view debian/preinst @ 448:ad6d7f70462f noffle
[svn] fixed transition pathname
author | godisch |
---|---|
date | Wed, 25 Jun 2003 17:22:20 +0100 |
parents | ad3c49db15a3 |
children | a299b029c283 |
line wrap: on
line source
#!/bin/sh # $Id: preinst 591 2003-06-25 16:22:20Z 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/conf /etc/news/noffle.conf elif [ -e /etc/noffle.conf ]; then mv -fb /etc/noffle.conf /etc/news/noffle.conf fi fi if [ -e /etc/noffle/conf.debian -a ! -e /etc/default/noffle ]; then mv -fb /etc/noffle/conf.debian /etc/default/noffle fi if [ -d /etc/noffle ]; then mv -fb /etc/noffle /etc/news/noffle.old fi 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