mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* debian/postinst: make sure that byobu-launcher, if selected by default,
gets installed late in the /etc/profile.d list * usr/bin/byobu-launcher: do not exec, as this precludes detaching from a session, and being in a non-byobu shell
This commit is contained in:
parent
371940d259
commit
e4b2b4629a
3 changed files with 8 additions and 6 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -1,6 +1,9 @@
|
|||
byobu (2.55) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* debian/postinst: make sure that byobu-launcher, if selected by default,
|
||||
gets installed late in the /etc/profile.d list
|
||||
* usr/bin/byobu-launcher: do not exec, as this precludes detaching from a
|
||||
session, and being in a non-byobu shell
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 05 Feb 2010 09:16:55 -0800
|
||||
|
||||
|
|
4
debian/postinst
vendored
4
debian/postinst
vendored
|
@ -7,9 +7,9 @@ PKG="byobu"
|
|||
|
||||
db_get byobu/launch-by-default
|
||||
if [ "$RET" = true ]; then
|
||||
ln -sf /usr/bin/$PKG-launcher /etc/profile.d/$PKG.sh
|
||||
ln -sf /usr/bin/$PKG-launcher /etc/profile.d/95-$PKG.sh
|
||||
else
|
||||
rm -f /etc/profile.d/$PKG.sh
|
||||
rm -f /etc/profile.d/95-$PKG.sh
|
||||
fi
|
||||
|
||||
# The target of the diversion somehow disappeared which will cause
|
||||
|
|
|
@ -17,6 +17,5 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
if [ ! -r "$HOME/.byobu/disable-autolaunch" ]; then
|
||||
exec /usr/bin/byobu
|
||||
fi
|
||||
# Do not 'exec' here
|
||||
[ ! -r "$HOME/.byobu/disable-autolaunch" ] && /usr/bin/byobu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue