From 2beab396a19412b861153ed07a0727068095fffe Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 10 Nov 2008 03:44:00 -0500 Subject: [PATCH] Add invirt-ood-build for building out of date packages svn path=/trunk/packages/invirt-dev/; revision=1584 --- debian/changelog | 3 ++- debian/invirt-dev.install | 1 + invirt-ood-build | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100755 invirt-ood-build diff --git a/debian/changelog b/debian/changelog index 866dd7e..7af3983 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ invirt-dev (0.0.6) unstable; urgency=low * Punt duplicate dirs file and unused docs file in package + * Add invirt-ood-build for building out of date packages - -- Evan Broder Mon, 10 Nov 2008 03:42:26 -0500 + -- Evan Broder Mon, 10 Nov 2008 03:43:41 -0500 invirt-dev (0.0.5) unstable; urgency=low diff --git a/debian/invirt-dev.install b/debian/invirt-dev.install index 2b17bae..0d2fc6b 100644 --- a/debian/invirt-dev.install +++ b/debian/invirt-dev.install @@ -2,3 +2,4 @@ reprepro-env usr/bin repository-config/* srv/repository/conf invirt-build-release usr/bin invirt-ood-packages usr/bin +invirt-ood-build usr/bin diff --git a/invirt-ood-build b/invirt-ood-build new file mode 100755 index 0000000..41f1408 --- /dev/null +++ b/invirt-ood-build @@ -0,0 +1,23 @@ +#!/bin/bash + +packages="$(invirt-ood-packages)" + +if [ ${#packages} -eq 0 ]; then + echo "No packages to build." + exit 0 +fi + +echo "The following NEW packages will be built:" +echo $packages | fmt | sed 's/^/ /' +echo "Do you want to continue? [Y/n]" + +read answer +if [ "${answer:0:1}" = "n" -o "${answer:0:1}" = "N" ]; then + echo "Abort." + exit 0 +fi + +IFS="$(echo)" +for package in $packages; do + invirt-build-release "$package" +fi -- 1.7.9.5