archrepo2/scripts/touch_pkg_with_newer_sig
2014-01-12 22:34:30 +08:00

9 lines
125 B
Bash
Executable file

#!/bin/bash -e
for f; do
p=${f%.sig}
if [[ -f $p && $f -nt $p ]]; then
echo "touching $p."
touch "$p"
fi
done