~mvo/unattended-upgrades/xz-support

« back to all changes in this revision

Viewing changes to test/aptroot/usr/bin/dpkg

  • Committer: Michael Vogt
  • Date: 2013-01-16 07:25:52 UTC
  • mfrom: (254.2.10 verbose)
  • Revision ID: michael.vogt@ubuntu.com-20130116072552-vtl9jcek0qxbfvot
merged  lp:~mvo/unattended-upgrades/verbose 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# needed for apt to figure out the multiarch state
4
 
if [ "$1" = "--print-foreign-architectures" ]; then
5
 
        exec dpkg $@
6
 
 
7
 
fi
8
 
 
9
 
# we are just pretending
10
 
echo "fake-dpkg: $@"
11
 
 
12
 
# this should probably split into a seperate part
13
 
read -p "FAKE PROMPT TO ENSURE WE DO NOT BLOCK ON READS - if its handing here, the stdin close did not work" INPUT
14
 
echo "READ: $INPUT"