diff --git a/usr/bin/byobu-launcher-uninstall b/usr/bin/byobu-launcher-uninstall index e63ecb99..9ad5b208 100755 --- a/usr/bin/byobu-launcher-uninstall +++ b/usr/bin/byobu-launcher-uninstall @@ -25,8 +25,8 @@ PKG="byobu" remove_launcher() { dest=$1 if [ -w "$dest" ]; then - # print any comments, and remove lines invoking byobu: - $SED -i -e '/^\s*#/p' -e "/\b$PKG-launch\$/d" -e "/ screen-launch/d" "$dest" + # keep any comments, and remove lines invoking byobu: + $SED -i -e '/^\s*#/n' -e "/\b$PKG-launch\$/d" -e "/ screen-launch/d" "$dest" fi }