-#! /bin/sh
+#!/usr/bin/env bash
#
-# VideoLAN Client configuration script, borrowed from linux menuconfig
+# VLC media player configuration script, borrowed from linux menuconfig
# Cyril Deguet <asmax@videolan.org>
#
#-----------------------------------------------------------------
#
# Create a tristate radiolist function which is dependent on
-# another kernel configuration option.
+# another vlc configuration option.
#
# Quote from the original configure script:
#
clear
cat <<EOM
-Menuconfig has encountered a possible error in one of the kernel's
+Menuconfig has encountered a possible error in one of the vlc's
configuration files and is unable to continue. Here is the error
report:
sed 's/^/ Q> /' MCerror
cat <<EOM
-Please report this to the maintainer <mec@shout.net>. You may also
-send a problem report to <linux-kernel@vger.kernel.org>.
+Please report this to the maintainer <asmax@videolan.org>.
-Please indicate the kernel version you are trying to configure and
+Please indicate the vlc version you are trying to configure and
which menu you were trying to enter when this error occurred.
EOM
"make clean all" command.
If you have verified that your ncurses install is correct, you may email
-the maintainer <mec@shout.net> or post a message to
-<linux-kernel@vger.kernel.org> for additional assistance.
+the maintainer <asmax@videolan.org>.
EOM
cleanup
else
cat <<EOM >help.out
-For various reasons, one may wish to keep several different kernel
+For various reasons, one may wish to keep several different vlc
configurations available on a single machine.
If you have saved a previous configuration in a file other than the
-kernel's default, entering the name of the file here will allow you
+vlc's default, entering the name of the file here will allow you
to modify that configuration.
If you are uncertain, then you have probably never used alternate
else
cat <<EOM >help.out
-For various reasons, one may wish to keep different kernel
+For various reasons, one may wish to keep different vlc
configurations available on a single machine.
Entering a file name here will allow you to later retrieve, modify
#
save_configuration () {
echo
- echo -n "Saving your kernel configuration."
+ echo -n "Saving your vlc configuration."
#
# Now, let's redefine the configuration functions for final
DIALOG="./lxdialog/lxdialog"
-backtitle="VideoLAN Client Configuration"
+backtitle="VLC media player configuration"
trap "cleanup ; exit 1" 1 2 15
# Confirm and Save
#
if $DIALOG --backtitle "$backtitle" \
- --yesno "Do you wish to save your new kernel configuration?" 5 60
+ --yesno "Do you wish to save your new vlc configuration?" 5 60
then
save_configuration
echo
else
echo
echo
- echo Your kernel configuration changes were NOT saved.
+ echo Your vlc configuration changes were NOT saved.
echo
fi