From 82e54cbb891b1beb753cc646f040c4f084d4eed1 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 22 May 2009 18:53:26 +0200 Subject: [PATCH] * byobu-export: echo the version to file, in an exported byobu tarball Signed-off-by: Dustin Kirkland --- byobu-export | 2 ++ debian/changelog | 3 ++- debian/release.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/byobu-export b/byobu-export index 641647a9..1a4547b6 100755 --- a/byobu-export +++ b/byobu-export @@ -220,6 +220,8 @@ PROFILE="$DIR/.screenrc" STATUS="$DIR/.$PKG/status" mkdir -p "$DIR/.$PKG/bin" touch "$DIR/.$PKG/profile" +[ -x /usr/bin/dpkg-query ] && /usr/bin/dpkg-query --show --showformat '${Package} ${Version}\n' $PKG > "$DIR/.$PKG/version" +echo "http://launchpad.net/$PKG" >> "$DIR/.$PKG/version" # Copy status scripts cp -a /usr/lib/$PKG/* "$DIR/.$PKG/bin" diff --git a/debian/changelog b/debian/changelog index 824268cd..edb78152 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,9 @@ byobu (2.5) unreleased; urgency=low * bin/temp-c, bin/temp-f, byobu-config, byobu-config.1, byobu-status, profiles/common, profiles/profile.skel, rpm/byobu.spec: added a cpu temperature indicator + * byobu-export: echo the version to file, in an exported byobu tarball - -- Dustin Kirkland Wed, 20 May 2009 12:08:35 +0200 + -- Dustin Kirkland Fri, 22 May 2009 18:51:49 +0200 byobu (2.4-0ubuntu1) karmic; urgency=low diff --git a/debian/release.sh b/debian/release.sh index df9850bf..a06f6e8e 100755 --- a/debian/release.sh +++ b/debian/release.sh @@ -30,7 +30,7 @@ sed -i "s%^Source0:.*$%Source0: http://code.launchpad.net/$PKG/trunk/2.$v gpg --armor --sign --detach-sig ../"$PKG"_*.orig.tar.gz -$PKG-export /tmp/$PKG-export.tar.gz +$PKG-export -c light -f /tmp/$PKG-export.tar.gz puc /tmp/$PKG-export.tar.gz echo