nested quotes should not be escaped

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2012-04-03 17:52:58 +02:00
parent f3efa1e74d
commit 386c12f251

View file

@ -32,7 +32,7 @@ case "$state_should" in
present)
case "$os" in
archlinux)
echo "sed -i /etc/rc.conf \'s/^\\(DAEMONS=.*\\))/\\1 $name)/\'"
echo "sed -i /etc/rc.conf 's/^\\(DAEMONS=.*\\))/\\1 $name)/'"
;;
debian|ubuntu)
echo "update-rc.d \"$name\" defaults >/dev/null"