Hi Torsten, Please find attached a patch to fix this bug. I think you could just let the configuration files be installed into /etc by default and let the user copy them to $HOME/.povray if required.
Regards Varun -- Varun Hiremath Undergraduate Student, Aerospace Engineering Department, Indian Institute of Technology Madras, Chennai, India ------------------------------------- Homepage: http://varun.travisbsd.org
diff -u povray-3.6.1/debian/patches/series povray-3.6.1/debian/patches/series --- povray-3.6.1/debian/patches/series +++ povray-3.6.1/debian/patches/series @@ -1,3 +1,4 @@ +30_povconf_dir.diff 10_includes-location 10_Distribution 15_PNG diff -u povray-3.6.1/debian/changelog povray-3.6.1/debian/changelog --- povray-3.6.1/debian/changelog +++ povray-3.6.1/debian/changelog @@ -1,3 +1,10 @@ +povray (1:3.6.1-10) UNRELEASED; urgency=low + + * Add patches/30_povconf_dir.diff to install povray configuration files + by default into /etc (Closes: #461881) + + -- Varun Hiremath <[EMAIL PROTECTED]> Sun, 27 Jan 2008 10:28:48 +0530 + povray (1:3.6.1-9) unstable; urgency=low * Support autobuilding of the non-free package. only in patch2: unchanged: --- povray-3.6.1.orig/debian/patches/30_povconf_dir.diff +++ povray-3.6.1/debian/patches/30_povconf_dir.diff @@ -0,0 +1,24 @@ +Index: povray-3.6.1/Makefile.am +=================================================================== +--- povray-3.6.1.orig/Makefile.am 2008-01-27 08:54:16.000000000 +0530 ++++ povray-3.6.1/Makefile.am 2008-01-27 10:16:38.000000000 +0530 +@@ -111,16 +111,9 @@ + $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f ; \ + done + @echo "Copying user configuration and INI files..."; \ +- $(mkinstalldirs) $(povconfuser); \ +- filelist='povray.conf povray.ini'; \ +- for f in $$filelist ; do \ +- if test -e $(povconfuser)/$$f; then \ +- echo "Creating backup of $(povconfuser)/$$f"; \ +- mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \ +- fi; \ +- done; \ +- $(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf ; \ +- $(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini ++ $(mkinstalldirs) $(DESTDIR)$(povconfdir); \ ++ $(INSTALL_DATA) $(top_srcdir)/povray.conf $(DESTDIR)$(povconfdir)/povray.conf ; \ ++ $(INSTALL_DATA) $(top_builddir)/povray.ini $(DESTDIR)$(povconfdir)/povray.ini + + # For 'make uninstall' we remove the whole POV-Ray data directory. + # We have to use uninstall-local and not uninstall-data-local.