tags 397867 +patch thanks On Thu, Nov 09, 2006 at 09:29:48PM -0500, Joey Morris wrote: > > The script win32codecs.sh does not properly uninstall the codecs. The > problem is that the uninstall code first changes to the $DIR directory, but > the $DIR variable has not been defined anywhere in the script. It looks like > $DIR should be replaced by $CODECDIR.
Here is a fix along with a typo correction. Diego
--- win32codecs.sh (revision 20837) +++ win32codecs.sh (working copy) @@ -158,20 +158,20 @@ ;; uninstall) - cd $DIR/ + cd $CODECDIR/ rm -rf mplayer_binary_codecs #FIXME we need a better clean system if which symlinks > /dev/null ; then symlinks -d . else - echo "please install the package 'symlinks' and run 'symlinks -d $DIR' " + echo "please install the package 'symlinks' and run 'symlinks -d $CODECDIR' " fi echo "Uninstalled Succesfully!" ;; *) echo "Usage: {install|uninstall}" - echo "This program will install binary codecs for mplayer" + echo "This program will install binary codecs for MPlayer." exit 1 ;;