Print "still open" messages.
[userv-utils] / finger / install-confs
CommitLineData
5f9b7675 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