From aeb7062fda0b55431b6a828a7de93e465c3f1ead Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 9 Nov 2011 17:40:48 -0600 Subject: [PATCH] * experimental/byobu-classroom: LP: #882813 - fix minor use $SED --- debian/changelog | 2 ++ experimental/byobu-classroom | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 00c993a1..d61b8a65 100644 --- a/debian/changelog +++ b/debian/changelog @@ -79,6 +79,8 @@ byobu (4.47) unreleased; urgency=low usr/bin/byobu-ulevel, usr/lib/byobu/custom, usr/lib/byobu/disk, usr/share/byobu/tests/byobu-time-notifications: LP: #882814 - use printf instead of "echo -n" for portability to Mac OSX + * experimental/byobu-classroom: LP: #882813 + - fix minor use $SED -- Dustin Kirkland Tue, 08 Nov 2011 19:16:15 -0600 diff --git a/experimental/byobu-classroom b/experimental/byobu-classroom index 355b0827..84f11c63 100755 --- a/experimental/byobu-classroom +++ b/experimental/byobu-classroom @@ -125,7 +125,7 @@ while [ $(grep -c "#byobu-classrom" /etc/ssh/sshd_config) != "4" ]; do c=$(head -n1) case "$c" in y|Y) - sed -i -e '/#byobu-classroom/d' /etc/ssh/sshd_config || true + $SED -i -e '/#byobu-classroom/d' /etc/ssh/sshd_config || true echo " PasswordAuthentication yes #byobu-classroom AllowTcpForwarding no #byobu-classroom