comparison debian/preinst @ 448:ad6d7f70462f noffle

[svn] fixed transition pathname
author godisch
date Wed, 25 Jun 2003 17:22:20 +0100
parents ad3c49db15a3
children a299b029c283
comparison
equal deleted inserted replaced
447:ad3c49db15a3 448:ad6d7f70462f
1 #!/bin/sh 1 #!/bin/sh
2 # $Id: preinst 590 2003-06-25 16:14:14Z godisch $ 2 # $Id: preinst 591 2003-06-25 16:22:20Z 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/noffle.conf ]; then
10 mv -fb /etc/noffle/noffle.conf /etc/news 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 12 mv -fb /etc/noffle.conf /etc/news/noffle.conf
13 fi 13 fi
14 fi 14 fi
15 15
16 if [ -e /etc/noffle/conf.debian -a ! -e /etc/default/noffle ]; then 16 if [ -e /etc/noffle/conf.debian -a ! -e /etc/default/noffle ]; then
17 mv -fb /etc/noffle/conf.debian /etc/default/noffle 17 mv -fb /etc/noffle/conf.debian /etc/default/noffle