pre-receive/update: squelch harmless error message
commitea38617dee6183b0273d5885f5623eff1529c2e9
authorKyle J. McKay <mackyle@gmail.com>
Sat, 27 Aug 2016 11:30:11 +0000 (27 04:30 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 27 Aug 2016 11:30:11 +0000 (27 04:30 -0700)
tree170b2565d72fc638dfcf227b4ec0990f32756c8d
parentfb4f7e273b6351d26280ec5afe1928bad30f7d28
pre-receive/update: squelch harmless error message

If install.sh (e.g. make install) is run while a simultaneous receive or
mirror update is in progress, list_packs may be temporarily unavailable.

This is harmless since the worst that could happen is that the
.needsgc file will not be created until one extra pack is fetched/received.

Therefore squelch any error/complaint/failure from a missing list_packs
executable in both the pre-receive and update.sh scripts.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
hooks/pre-receive
jobd/update.sh