Mercurial > mplayer.hg
comparison debian/config @ 7096:6746866a94c6
Use the confdir we compiled with (/etc/mplayer/mplayer.conf instead of
/etc/mplayer.conf). Spotted by Kiss Gabor <kissg@sztaki.hu>.
author | diego |
---|---|
date | Tue, 27 Aug 2002 09:57:12 +0000 |
parents | 0737156ad1f0 |
children | a5bef61f49bf |
comparison
equal
deleted
inserted
replaced
7095:fad0147bd3aa | 7096:6746866a94c6 |
---|---|
17 | 17 |
18 checkupgrade(); # Find out if we have to upgrade. | 18 checkupgrade(); # Find out if we have to upgrade. |
19 mainloop(letsgo()); | 19 mainloop(letsgo()); |
20 | 20 |
21 sub checkupgrade { | 21 sub checkupgrade { |
22 open(MCFG, "</etc/mplayer.conf") || return 1; | 22 open(MCFG, "</etc/mplayer/mplayer.conf") || return 1; |
23 my $line = <MCFG>; | 23 my $line = <MCFG>; |
24 return 1 if ($line =~ /mplayer DEBCONF AREA/); | 24 return 1 if ($line =~ /mplayer DEBCONF AREA/); |
25 exit(0) if (input($PRIORITY, 'mplayer/replace-existing-files') eq "question skipped"); | 25 exit(0) if (input($PRIORITY, 'mplayer/replace-existing-files') eq "question skipped"); |
26 go(); | 26 go(); |
27 if (get('mplayer/replace-existing-files') eq 'false') { | 27 if (get('mplayer/replace-existing-files') eq 'false') { |