add scripts/touch_pkg_with_newer_sig

This commit is contained in:
lilydjwg 2014-01-12 22:33:56 +08:00
parent fd89d43863
commit 88c540263d

View file

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