* usr/bin/byobu-enable-prompt:

- fix TERM
* debian/postinst, usr/bin/byobu-enable-prompt: LP: #1205560
  - soften requirements on touching the reload flag
This commit is contained in:
Dustin Kirkland 2013-07-28 19:45:55 -05:00
commit 94d6cd07f6
3 changed files with 8 additions and 5 deletions

5
debian/changelog vendored
View file

@ -1,6 +1,9 @@
byobu (5.49) unreleased; urgency=low byobu (5.49) unreleased; urgency=low
* UNRELEASED * usr/bin/byobu-enable-prompt:
- fix TERM
* debian/postinst, usr/bin/byobu-enable-prompt: LP: #1205560
- soften requirements on touching the reload flag
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 26 Jul 2013 16:51:20 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 26 Jul 2013 16:51:20 -0500

6
debian/postinst vendored
View file

@ -24,11 +24,11 @@ fi
# Remove the short-lived MOTD message # Remove the short-lived MOTD message
rm -f /etc/update-motd.d/55-window-manager rm -f /etc/update-motd.d/55-window-manager
# Notify users that they should reload their profile # Attempt to notify users that they should reload their profile
touch_flag() { touch_flag() {
touch "$1" touch "$1" || true
chown --reference $(dirname "$1") "$1" || true chown --reference $(dirname "$1") "$1" || true
chmod 700 "$1" chmod 700 "$1" || true
} }
[ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir" [ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir"
if [ -d "$SOCKETDIR" ]; then if [ -d "$SOCKETDIR" ]; then

View file

@ -25,7 +25,7 @@ PKG="byobu"
byobu-disable-prompt || true byobu-disable-prompt || true
cat >>"$HOME/.bashrc" <<EOF cat >>"$HOME/.bashrc" <<EOF
PS1="${debian_chroot:+($debian_chroot)}\[\e[00;31m\]\u\[\e[00;30m\]@\[\e[00;36m\]\h\[\e[00m\]:\[\e[00;32m\]\w\[\e[00m\]\$ " #byobu-prompt# PS1="${debian_chroot:+($debian_chroot)}\[\e[00;31m\]\u\[\e[00;30m\]@\[\e[00;36m\]\h\[\e[00m\]:\[\e[00;32m\]\w\[\e[00m\]\$ " #byobu-prompt#
export TERM="xterm-256" #byobu-prompt# export TERM="xterm-256color" #byobu-prompt#
EOF EOF
echo echo