Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[cd3bc9]: debian / gxine.postinst.in Maximize Restore History

Download this file

gxine.postinst.in    22 lines (18 with data), 424 Bytes

#! /bin/sh

set -e

case "$1" in
  triggered|configure)
    if test -x @XINE_LIST@; then
      {
	cat /usr/share/gxine/gxine.desktop
	@XINE_LIST@
	echo
      } >/var/lib/xine/gxine.desktop.new
      echo "Updated the MIME types in gxine's menu file."
      mv /var/lib/xine/gxine.desktop.new /var/lib/xine/gxine.desktop
    else
      echo "Not updating the MIME types in gxine's menu file."
    fi
    ;;
esac

#DEBHELPER#