1
0
mirror of synced 2025-12-17 04:52:15 +01:00

Delete tvheadend directory

This commit is contained in:
d-two
2023-02-23 22:51:34 +01:00
committed by GitHub
parent 3c96e188da
commit c77d5a3de1
25 changed files with 0 additions and 4268 deletions

View File

@@ -1,62 +0,0 @@
#!/bin/bash
dflag=
vflag=
cflag=
qflag=
if (( $# < 1 ))
then
cat /config/data/*.xml
exit 0
fi
for arg
do
delim=""
case "$arg" in
#translate --gnu-long-options to -g (short options)
--description) args="${args}-d ";;
--version) args="${args}-v ";;
--capabilities) args="${args}-c ";;
--quiet) args="${args}-q ";;
#pass through anything else
*) [[ "${arg:0:1}" == "-" ]] || delim="\""
args="${args}${delim}${arg}${delim} ";;
esac
done
#Reset the positional parameters to the short options
eval set -- $args
while getopts "dvcq" option
do
case $option in
d) dflag=1;;
v) vflag=1;;
c) cflag=1;;
q) qflag=1;;
\?) printf "unknown option: -%s\n" $OPTARG
printf "Usage: %s: [--description] [--version] [--capabilities] \n" $(basename $0)
exit 2
;;
esac >&2
done
if [ "$dflag" ]
then
printf "WebGrab+Plus XML file grabber\n"
fi
if [ "$vflag" ]
then
printf "0.2\n"
fi
if [ "$cflag" ]
then
printf "baseline\n"
fi
if [ "$qflag" ]
then
printf ""
fi
exit 0