diff options
author | Raphael Geissert <atomo64@gmail.com> | 2012-07-10 00:46:31 -0500 |
---|---|---|
committer | Raphael Geissert <geissert@debian.org> | 2012-12-18 18:22:22 -0600 |
commit | d213b86389ee6425cd4f51ea63e68eea1c9bb988 (patch) | |
tree | 82b54202977c36063a4d4cc6126612106105f3c7 | |
parent | 361ba6bce1a3fabae9da0ab2b97f2cc7360da1d3 (diff) |
Remove upstream's AUIP file to avoid a deadlock
-rwxr-xr-x | bin/ftpsync | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index b72b435..951aed7 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -503,6 +503,13 @@ while [ -e "${UPDATEREQUIRED}" ]; do : ;; *) + if [ -f "$aupfile" ]; then + # Remove the file, it will be synced again if + # upstream is still not done + rm -f "$aupfile" + else + log "AUIP file '$aupfile' is not really a file, weird" + fi upstream_uip=true ;; esac |