aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-06-04 23:19:23 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-06-04 23:19:23 +0900
commitba1114d67050389244ffd7dce631b49875f68c94 (patch)
treec0b51f4c74506b5c9d07b4e47d93503be3d0ebbb /examples
parentbec70466893b16279c37642a180a392eeb841a6f (diff)
downloadpbuilder-ba1114d67050389244ffd7dce631b49875f68c94.tar
pbuilder-ba1114d67050389244ffd7dce631b49875f68c94.tar.gz
install useful tools like vim / less
Diffstat (limited to 'examples')
-rw-r--r--examples/C10shell3
-rwxr-xr-xexamples/C11screen3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/C10shell b/examples/C10shell
index a642c30..0a13d10 100644
--- a/examples/C10shell
+++ b/examples/C10shell
@@ -2,5 +2,6 @@
# example file to be used with --hookdir
#
# invoke shell if build fails.
-
+apt-get install -y --force-yes vim less
+cd /tmp/buildd/*/debian/..
/bin/bash < /dev/tty > /dev/tty 2> /dev/tty
diff --git a/examples/C11screen b/examples/C11screen
index 8b11504..45f8a66 100755
--- a/examples/C11screen
+++ b/examples/C11screen
@@ -4,5 +4,6 @@
# invoke GNU screen if build fails.
export debian_chroot="pbuilder"
-apt-get install -y --force-yes screen
+apt-get install -y --force-yes screen vim less
+cd /tmp/buildd/*/debian/..
screen </dev/tty > /dev/tty 2> /dev/tty