chiark
/
gitweb
/
~webstump
/
modbot-mtm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add -type f to crontab.part.IN0
[modbot-mtm.git]
/
install-aggregates
diff --git
a/install-aggregates
b/install-aggregates
index 10e2e6d72e190b6399d942440fdef4d568fc1a26..24052cc5a1c26ec17b74064cd142bae81ae65dac 100755
(executable)
--- a/
install-aggregates
+++ b/
install-aggregates
@@
-8,6
+8,13
@@
case "$basedir" in
esac
cd $basedir
esac
cd $basedir
+. global-settings
+
+if [ x"`whoami`" != x"$OURUSER" ]; then
+ echo >&2 "$0 must be run as $OURUSER, skipping"
+ exit 0
+fi
+
for f in crontab forward-suffix forward-slimy
do
d=$f
for f in crontab forward-suffix forward-slimy
do
d=$f
@@
-21,6
+28,7
@@
do
echo '# autogenerated - do not edit' >>$g
if test -f $f.part; then cat $f.part >>$g; fi
cat live-*/$f.part >>$g
echo '# autogenerated - do not edit' >>$g
if test -f $f.part; then cat $f.part >>$g; fi
cat live-*/$f.part >>$g
+ if test -f $f.part-tail; then cat $f.part-tail >>$g; fi
mv -f $g $d
case $f in
mv -f $g $d
case $f in