Adapted to new distr3

This commit is contained in:
ceriel 1987-02-24 16:36:22 +00:00
parent c05eb0a5c7
commit 7dc1c84031

View file

@ -1,10 +1,10 @@
if co -q -rdistr2 $DESTDIR/$1/$2 >/dev/null 2>&1
if co -q -rdistr3 $DESTDIR/$1/$2 >/dev/null 2>&1
then
chmod +w $DESTDIR/$1/$2
elif co -q $DESTDIR/$1/$2 >/dev/null 2>&1
then
chmod +w $DESTDIR/$1/$2
echo -- $1/$2 no distr2 yet
echo -- $1/$2 no distr3 yet
elif grep LIST .distr >/dev/null 2>&1 &&
(test "$2" = "`head -1 $DESTDIR/$1/LIST`") >/dev/null 2>&1 &&
${DA-false} "$1" "$2"