Package: sugarplum
Version: 0.9.10-9
Severity: normal
Upgrading sugarplum to version 0.9.10-9, the configure stopped with
error 'ln: `/etc/apache2/conf.d/sugarplum': File exists'. The same
problem shows when doing 'dpkg-reconfigure sugarplum'. When first
removing the file /etc/apache2/conf.d/sugarplum, the configure runs
fine.
I don't know whether it'd be better to overwrite the symlink or not
to touch it if it exists already. But I had a look at the
websvn.postinst which does it like this:
if [ ! -f /etc/$webserver/conf.d/websvn -a ! -h
/etc/$webserver/conf.d/websvn ]; then
ln -s /etc/websvn/apache.conf /etc/$webserver/conf.d/websvn
restart="$restart $webserver"
fi
seems sensible to me.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux fulcrum 2.6.8 #1 SMP Fri Feb 18 08:02:50 CET 2005 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages sugarplum depends on:
ii debconf 1.4.34 Debian configuration management sy
ii perl 5.6.1-8.9 Larry Wall's Practical Extraction
ii wenglish 2.0-2 English dictionary words for /usr/
ii wenglish [wordlist] 2.0-2 English dictionary words for /usr/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]