From 4b0444617af5c976bd16d4be765799aeb4c7e9e2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 6 Oct 2014 15:10:06 +0100 Subject: [PATCH] install-substitutions: insist on webstump 022 --- install-substitutions | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install-substitutions b/install-substitutions index 9bcee54..74e9043 100755 --- a/install-substitutions +++ b/install-substitutions @@ -13,6 +13,14 @@ if [ $# != 0 ]; then echo >&2 "usage: ./${0##*/} [-n]"; exit 1; fi . ./get-settings +if [ x"`whoami`" != x"$OURUSER" ]; then + echo >&2 "$0 must be run as $OURUSER, skipping" + exit 0 +fi + +# procmail insists on g-w +umask 022 + find -name '*.IN[O1]' ! -path '*/skeleton/*' -exec perl -e ' use IO::Handle; use POSIX; -- 2.30.2