chiark / gitweb /
crypto debugging, and several bugfixes
[userv-utils] / finger / install-confs
CommitLineData
98fef719 1#!/bin/sh
2set -e
3destdir="$1"; shift
4for f in "$@"; do install -m 644 -o root "$f" "$destdir/$f:new"; done
5cd "$destdir"
6for f in "$@"; do
7 if ! test -f "$f"; then
8 echo installing new "$destdir/$f"
9 mv -f "$f:new" "$f"
10 fi
11done