Mercurial > noffle
diff debian/preinst @ 450:a85a0af33718 noffle
[svn] added failure tolerance
author | godisch |
---|---|
date | Wed, 25 Jun 2003 17:27:55 +0100 |
parents | a299b029c283 |
children |
line wrap: on
line diff
--- a/debian/preinst Wed Jun 25 17:25:50 2003 +0100 +++ b/debian/preinst Wed Jun 25 17:27:55 2003 +0100 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: preinst 592 2003-06-25 16:25:50Z godisch $ +# $Id: preinst 593 2003-06-25 16:27:55Z godisch $ set -e @@ -7,18 +7,18 @@ if [ ! -e /etc/news/noffle.conf ]; then if [ -e /etc/noffle/conf ]; then - mv -fb /etc/noffle/conf /etc/news/noffle.conf + mv -fb /etc/noffle/conf /etc/news/noffle.conf || true elif [ -e /etc/noffle.conf ]; then - mv -fb /etc/noffle.conf /etc/news/noffle.conf + mv -fb /etc/noffle.conf /etc/news/noffle.conf || true fi fi if [ -e /etc/noffle/conf.debian -a ! -e /etc/default/noffle ]; then - mv -fb /etc/noffle/conf.debian /etc/default/noffle + mv -fb /etc/noffle/conf.debian /etc/default/noffle || true fi if [ -d /etc/noffle ]; then - mv -fb /etc/noffle /etc/news/noffle.old + mv -fb /etc/noffle /etc/news/noffle.old || true fi if [ -d /var/spool/noffle/lock ]; then