mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
usr/bin/byobu-janitor: fix upgrades where one's window list might have
motd+shell, LP: #589715
This commit is contained in:
parent
aa54591fcf
commit
78c079fbdd
2 changed files with 8 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -8,6 +8,8 @@ byobu (3.2) unreleased; urgency=low
|
|||
* configure.ac: POSIX sed doesn't include -i option, LP: #619328, #622640
|
||||
* usr/bin/byobu-janitor: improve dash replacement in status config,
|
||||
LP: #598488
|
||||
* usr/bin/byobu-janitor: fix upgrades where one's window list might have
|
||||
motd+shell, LP: #589715
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 03 Aug 2010 15:19:23 -0400
|
||||
|
||||
|
|
|
@ -151,5 +151,11 @@ if grep -qs " $PKG-launcher$" "$HOME"/.profile; then
|
|||
$PKG-launcher-install
|
||||
fi
|
||||
|
||||
# Affects: Upgrades from <= byobu-2.78 which might have "motd+shell"
|
||||
# in their window list; update this to just "shell"
|
||||
if grep -qs "motd+shell" "$HOME/.$PKG/windows"; then
|
||||
sed -i "s/motd+shell/shell/g" "$HOME/.$PKG/windows" || true
|
||||
fi
|
||||
|
||||
# Clean up flag
|
||||
rm -f "$FLAG"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue