diff options
-rwxr-xr-x | bin/pupdate.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/pupdate.sh b/bin/pupdate.sh index da3bc23..61dbd2d 100755 --- a/bin/pupdate.sh +++ b/bin/pupdate.sh @@ -55,7 +55,7 @@ case "${DSC}" in DSC_TEMPDIR="$(mktemp -d)" cd "${DSC_TEMPDIR}" - dget -d "${DSC}" + dget -u -d "${DSC}" cd "${OLDPWD}" DSC="${DSC_TEMPDIR}/$(basename ${DSC})" @@ -174,6 +174,7 @@ Unpack_debian () dpkg-source -x --no-copy --skip-patches ${DSC} ${TEMPDIR} find "${TEMPDIR}" -type d -name ".git" -exec rm -rf {} \; || true + rm -rf "${TEMPDIR}/debian/.debputy" find "${TEMPDIR}" -maxdepth 1 -mindepth 1 -print0 | xargs -0 -I '{}' mv '{}' . |