chiark
/
gitweb
/
~mdw
/
userv-utils
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Print "still open" messages.
[userv-utils]
/
finger
/
install-confs
1
#!/bin/sh
2
set -e
3
destdir="$1"; shift
4
for f in "$@"; do install -m 644 -o root "$f" "$destdir/$f:new"; done
5
cd "$destdir"
6
for f in "$@"; do
7
if ! test -f "$f"; then
8
echo installing new "$destdir/$f"
9
mv -f "$f:new" "$f"
10
fi
11
done