#!/bin/sh
# Authors: Brandon Snider.
# This script redirects readom commands to readcd. In case of --version being passed, the script returns a specific string to
# satisfy Brasero.
version="readcd 2.01.01a05 is not what you see here. This line is only a fake for too clever\nGUIs and other frontend applications. In fact, this program is:\nreadom 1.1.10 (Linux)"
case "--version" in
     "$@") printf "%b\n" "$version"
#Copyright (C) 1987, 1995-2006 Joerg Schilling
#Copyright (C) 2006 Cdrkit maintainers
#(modified version of <censored> -- don't bother Joerg Schilling with problems)" # Pass the version info expected by any app querying Readom.
        ;;
     *) /usr/bin/readcd "$@" # In all other situations, pass all options to readcd.
        ;;
esac
