6 echo "usage: dcp-update-apt PACKAGE"
11 (cd "apt-tmp"; apt-get source "$1") || false
14 for f in "apt-tmp"/*; do
16 if [ -z "$sdir" ]; then
19 echo "dcp-update-apt: got more than one directory from apt-get; cannot continue" >&2
24 if [ -z "$sdir" ]; then
25 echo "dcp-update-apt: could not find any source directory" >&2
41 git commit -q -m "Updated from upstream" || true