mirror of
https://github.com/lilydjwg/archrepo2.git
synced 2025-03-10 12:02:43 +00:00
add scripts/touch_pkg_with_newer_sig
This commit is contained in:
parent
fd89d43863
commit
88c540263d
1 changed files with 9 additions and 0 deletions
9
scripts/touch_pkg_with_newer_sig
Executable file
9
scripts/touch_pkg_with_newer_sig
Executable 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
|
Loading…
Add table
Reference in a new issue