Mercurial > noffle
changeset 446:cd2efc06a6e1 noffle
[svn] added test -d
author | godisch |
---|---|
date | Wed, 25 Jun 2003 17:13:35 +0100 |
parents | 0a5e33528ec1 |
children | ad3c49db15a3 |
files | debian/preinst |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/debian/preinst Wed Jun 25 17:03:29 2003 +0100 +++ b/debian/preinst Wed Jun 25 17:13:35 2003 +0100 @@ -1,5 +1,5 @@ -#!/bin/sh -# $Id: preinst 587 2003-06-25 15:58:44Z godisch $ +#!/bin/sh -x +# $Id: preinst 589 2003-06-25 16:13:35Z godisch $ set -e @@ -17,7 +17,9 @@ mv -fb /etc/noffle/conf.debian /etc/default/noffle fi -mv /etc/noffle /etc/news/noffle.old +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