comparison debian/preinst @ 449:a299b029c283 noffle

[svn] fixed transition pathname
author godisch
date Wed, 25 Jun 2003 17:25:50 +0100
parents ad6d7f70462f
children a85a0af33718
comparison
equal deleted inserted replaced
448:ad6d7f70462f 449:a299b029c283
1 #!/bin/sh 1 #!/bin/sh
2 # $Id: preinst 591 2003-06-25 16:22:20Z godisch $ 2 # $Id: preinst 592 2003-06-25 16:25:50Z godisch $
3 3
4 set -e 4 set -e
5 5
6 mkdir -p /etc/news 6 mkdir -p /etc/news
7 7
8 if [ ! -e /etc/news/noffle.conf ]; then 8 if [ ! -e /etc/news/noffle.conf ]; then
9 if [ -e /etc/noffle/noffle.conf ]; then 9 if [ -e /etc/noffle/conf ]; then
10 mv -fb /etc/noffle/conf /etc/news/noffle.conf 10 mv -fb /etc/noffle/conf /etc/news/noffle.conf
11 elif [ -e /etc/noffle.conf ]; then 11 elif [ -e /etc/noffle.conf ]; then
12 mv -fb /etc/noffle.conf /etc/news/noffle.conf 12 mv -fb /etc/noffle.conf /etc/news/noffle.conf
13 fi 13 fi
14 fi 14 fi