mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
usr/bin/byobu-janitor: improve dash replacement in status config,
LP: #598488
This commit is contained in:
parent
a1fcc16aa7
commit
aa54591fcf
2 changed files with 3 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -6,6 +6,8 @@ byobu (3.2) unreleased; urgency=low
|
||||||
* usr/lib/byobu/network, usr/share/man/man1/byobu.1: allow for
|
* usr/lib/byobu/network, usr/share/man/man1/byobu.1: allow for
|
||||||
configuration of network traffic in [kM]ps, LP: #578377
|
configuration of network traffic in [kM]ps, LP: #578377
|
||||||
* configure.ac: POSIX sed doesn't include -i option, LP: #619328, #622640
|
* configure.ac: POSIX sed doesn't include -i option, LP: #619328, #622640
|
||||||
|
* usr/bin/byobu-janitor: improve dash replacement in status config,
|
||||||
|
LP: #598488
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 03 Aug 2010 15:19:23 -0400
|
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 03 Aug 2010 15:19:23 -0400
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ fi
|
||||||
# The status scripts used to have hyphens in their name, but now use
|
# The status scripts used to have hyphens in their name, but now use
|
||||||
# underscores such that we can source the file as a shell snippet;
|
# underscores such that we can source the file as a shell snippet;
|
||||||
# fix existing status configuration.
|
# fix existing status configuration.
|
||||||
sed -i "s/\(.*\)-\(.*\)=/\1_\2=/g" "$HOME/.$PKG/status"
|
sed -i "s/\([^=]+\)-\([^=]+\)=/\1_\2=/g" "$HOME/.$PKG/status"
|
||||||
sed -i "s/^disk-.*=/disk=/" "$HOME/.$PKG/status"
|
sed -i "s/^disk-.*=/disk=/" "$HOME/.$PKG/status"
|
||||||
sed -i "s/^network-.*=/network=/" "$HOME/.$PKG/status"
|
sed -i "s/^network-.*=/network=/" "$HOME/.$PKG/status"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue