Commit b524765a authored by etobi's avatar etobi

Removed bashism from merge-commands.conf (Closes: #799483)

parent 534d0671
......@@ -19,6 +19,7 @@ vdr (2.2.0-1) unstable; urgency=medium
* Added systemd support
* Removed ENABLED setting from /etc/default/vdr - the vdr daemon is now
enabled by default and might be disabled manuall via update-rc.d / systemctl
* Removed bashism from merge-commands.conf (Closes: #799483)
-- Tobias Grimm <etobi@debian.org> Tue, 15 Sep 2015 23:53:12 +0200
......
......@@ -9,17 +9,17 @@
writewarning ()
{
echo -e \
"#\n"\
"# This file is automatically generated by the vdr init-script. You can\n"\
"# define custom commands in /etc/vdr/command-hooks/$1.custom.conf\n"\
"# (see /usr/share/doc/vdr/README.Debian.gz).\n"\
"#\n\n\n"
cat > "$2" <<EOF
# This file is automatically generated by the vdr init-script. You can
# define custom commands in /etc/vdr/command-hooks/$1.custom.conf
# (see /usr/share/doc/vdr/README.Debian.gz).
EOF
}
cmdtype=$1
cmdfile="/var/cache/vdr/$cmdtype.conf"
writewarning $cmdtype > "$cmdfile"
writewarning $cmdtype "$cmdfile"
find $CMDHOOKSDIR -maxdepth 1 -name "$cmdtype.*.conf" | sort | xargs cat >> "$cmdfile"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment