* usr/bin/byobu-launcher-install.in: LP: #1396959

- silence warnings if byobu-launch doesn't exist (e.g., uninstalled it)
This commit is contained in:
Dustin Kirkland 2015-03-23 12:23:38 -05:00
commit 2f1317e7e7
2 changed files with 3 additions and 2 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (5.92) unreleased; urgency=medium
* UNRELEASED
* usr/bin/byobu-launcher-install.in: LP: #1396959
- silence warnings if byobu-launch doesn't exist (e.g., uninstalled it)
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 07 Mar 2015 18:59:37 -0500

View file

@ -44,7 +44,7 @@ update_flag() {
install_launcher() {
$PKG-launcher-uninstall "$1" || true
printf "_byobu_sourced=1 . ${BYOBU_PREFIX}/bin/byobu-launch\n" >> "$1"
printf "_byobu_sourced=1 . ${BYOBU_PREFIX}/bin/byobu-launch 2>/dev/null || true\n" >> "$1"
}
install_launcher_fish() {