http://bugzilla.novell.com/show_bug.cgi?id=547384
User sreeves@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547384#c5
--- Comment #5 from Scott Reeves 2009-11-03 13:19:31 MST ---
the enable_mplayer section of the submitreq in comment #3 appears wrong
if test -f /etc/mplayer/mplayer.conf; then
- if grep "ao=pulse" /etc/mplayer/mplayer.conf; then
- echo "Default driver is pulse already in /etc/mplayer/mplayer.conf"
+ if grep -q '^ao=' /etc/mplayer/mplayer.conf; then
+ perl -pi -e "s|^ao=.*|ao=pulse|g;" /etc/pulse/client.conf
the last line needs to be changed to modify the mplayer.conf file
if test -f /etc/mplayer/mplayer.conf; then
- if grep "ao=pulse" /etc/mplayer/mplayer.conf; then
- echo "Default driver is pulse already in /etc/mplayer/mplayer.conf"
+ if grep -q '^ao=' /etc/mplayer/mplayer.conf; then
+ perl -pi -e "s|^ao=.*|ao=pulse|g;" /etc/mplayer/mplayer.conf
submitted this via submitreq #23807
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.