usr/bin/byobu-launch, usr/bin/byobu-launcher-install,

usr/bin/byobu-launcher-uninstall:
This commit is contained in:
Dustin Kirkland 2010-06-24 09:47:56 -05:00
commit b5a0a1249a
4 changed files with 6 additions and 4 deletions

3
debian/changelog vendored
View file

@ -7,6 +7,9 @@ byobu (2.81) unreleased; urgency=low
- usr/lib/services
- usr/bin/byobu-status-detail
- usr/bin/byobu-reconnect-sockets
- usr/bin/byobu-launch, usr/bin/byobu-launcher-install,
usr/bin/byobu-launcher-uninstall:
* usr/bin/byobu-config, usr/share/doc/byobu/help.txt: improve help
text, per feedback from Turnkey Linux users

View file

@ -17,4 +17,4 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
`echo \$- | grep -qs i` && byobu-launcher && exit 0
case "$-" in *i*) byobu-launcher && exit 0; esac;

View file

@ -21,7 +21,7 @@
PKG="byobu"
install_launcher() {
echo "\`echo \$- | grep -qs i\` && $PKG-launcher && exit 0" >> "$1"
printf "%s\n" 'case "$-" in *i*) byobu-launcher && exit 0; esac;' >> "$1"
}
# Sanitize the environment

View file

@ -23,8 +23,7 @@ PKG="byobu"
remove_launcher() {
dest=$1
if [ -w "$dest" ]; then
sed -i "/$PKG-launcher$/d" "$dest"
sed -i "/screen-launcher$/d" "$dest"
sed -i -e "/$PKG-launcher/d" -e "/screen-launcher/d" "$dest"
fi
}