* byobu: add a -v version argument

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-06-26 12:43:16 -05:00
commit 4cbbc96983
3 changed files with 11 additions and 1 deletions

8
byobu
View file

@ -18,6 +18,14 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PKG="byobu"
VERSION="2.17"
# Add a version argument for debugging purposes
if [ "$1" = "-v" ]; then
echo "$PKG version $VERSION"
screen -v
exit 0
fi
# Nesting byobu inside of screen doesn't work well
if [ "$TERM" = "screen" ]; then

3
debian/changelog vendored
View file

@ -19,11 +19,12 @@ byobu (2.17) unreleased; urgency=low
used to force select-screen-profile on first run, and the number of
profiles was overwhelming; we're no longer doing this, and this
separate package is more trouble than its worth
* byobu: add a -v version argument
[ Ciemon Dunville ]
* byobu.1: update description, add note about units of measure
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 26 Jun 2009 11:51:11 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 26 Jun 2009 12:42:59 -0500
byobu (2.16-0ubuntu1) karmic; urgency=low

1
debian/release.sh vendored
View file

@ -30,6 +30,7 @@ rsync -aP /tmp/$PKG-export.tar.gz kirkland@people.ubuntu.com:~kirkland/public_ht
# Open the next release for development
nextminor=`expr $minor + 1`
sed -i "/^VERSION=.*$/VERSION=$MAJOR.$nextminor/" byobu
dch -v "$MAJOR.$nextminor" "UNRELEASED"
sed -i "s/$MAJOR.$nextminor) .*;/$MAJOR.$nextminor) unreleased;/" debian/changelog
sed -i "s/^Version:.*$/Version: $MAJOR.$nextminor/" rpm/$PKG.spec