# HG changeset patch # User diego # Date 1030442232 0 # Node ID 6746866a94c6ce008a50b0960ce9bc0a03882be5 # Parent fad0147bd3aa540b01c41f93f7b95ef749ce0150 Use the confdir we compiled with (/etc/mplayer/mplayer.conf instead of /etc/mplayer.conf). Spotted by Kiss Gabor . diff -r fad0147bd3aa -r 6746866a94c6 debian/changelog --- a/debian/changelog Tue Aug 27 08:33:05 2002 +0000 +++ b/debian/changelog Tue Aug 27 09:57:12 2002 +0000 @@ -1,3 +1,10 @@ +mplayer (0.90-2) unstable; urgency=low + + * Use the confdir we compile with in the helper scripts + (/etc/mplayer/mplayer.conf instead of /etc/mplayer). + + -- Diego Biurrun Tue, 27 Aug 2002 11:18:50 +0200 + mplayer (0.90-1) unstable; urgency=low * 0.90 release including latest alsa9 fixes diff -r fad0147bd3aa -r 6746866a94c6 debian/config --- a/debian/config Tue Aug 27 08:33:05 2002 +0000 +++ b/debian/config Tue Aug 27 09:57:12 2002 +0000 @@ -19,7 +19,7 @@ mainloop(letsgo()); sub checkupgrade { - open(MCFG, "; return 1 if ($line =~ /mplayer DEBCONF AREA/); exit(0) if (input($PRIORITY, 'mplayer/replace-existing-files') eq "question skipped"); diff -r fad0147bd3aa -r 6746866a94c6 debian/postinst --- a/debian/postinst Tue Aug 27 08:33:05 2002 +0000 +++ b/debian/postinst Tue Aug 27 09:57:12 2002 +0000 @@ -13,7 +13,7 @@ dealwithupgrades(); -my $mcfg = new ConfHelper('mplayer', "/etc/mplayer.conf"); +my $mcfg = new ConfHelper('mplayer', "/etc/mplayer/mplayer.conf"); $mcfg->setconfarea(" #MPlayer config file generated by .deb package. #ffactor = 0.9 @@ -48,10 +48,10 @@ sub dealwithupgrades { - open(OLDCONF, "hasconfarea()); undef $mconf; @@ -60,7 +60,7 @@ print STDERR "Upgrading...\n"; #? saveolddata("/etc/network/interfaces", "pppconf"); $didupgrade = 1; - for my $file ("/etc/mplayer.conf" + for my $file ("/etc/mplayer/mplayer.conf" #, "/etc/mplayer/fonts/sth ) { debug("Deleting $file"); diff -r fad0147bd3aa -r 6746866a94c6 debian/postinst.templates --- a/debian/postinst.templates Tue Aug 27 08:33:05 2002 +0000 +++ b/debian/postinst.templates Tue Aug 27 09:57:12 2002 +0000 @@ -17,14 +17,14 @@ Template: mplayer/overwrite Type: boolean Default: false -Description: Overwrite /etc/mplayer.conf ? - Should I overwrite your current /etc/mplayer.conf with the one created on the fly based on your answers? +Description: Overwrite /etc/mplayer/mplayer.conf ? + Should I overwrite your current /etc/mplayer/mplayer.conf with the one created on the fly based on your answers? Template: mplayer/cfgnote Type: note Description: Create your ~/.mplayer/conf file. Remember to read documentation and edit your ~/.mplayer/conf - (or /etc/mplayer.conf) file. This binary depends heavily on + (or /etc/mplayer/mplayer.conf) file. This binary depends heavily on your hardware - which means that it needs tweaking for every single machine it's installed to. And it also it means that it will use your setup very effectively. Look at /usr/share/doc/mplayer