Automatically add install.sh scripts to dists.
This commit is contained in:
parent
6b1d48f79c
commit
d7ef194616
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16329
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.220 1996/06/08 22:55:25 jkh Exp $
|
||||
# $Id: Makefile,v 1.221 1996/06/11 05:06:29 jkh Exp $
|
||||
#
|
||||
# How to roll a release:
|
||||
#
|
||||
@ -291,6 +291,7 @@ release.6:
|
||||
cd ${.CURDIR} && $(MAKE) doTARBALL \
|
||||
SD=${RD}/trees/$${i} \
|
||||
TN=$$i TD=$$i ARG="." && \
|
||||
cp -p scripts/${i}-install.sh ${RD}/dists/install.sh && \
|
||||
echo "$${i} distribution is finished."; \
|
||||
fi ; \
|
||||
done
|
||||
|
8
release/scripts/compat21-install.sh
Executable file
8
release/scripts/compat21-install.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
if [ "`id -u`" != "0" ]; then
|
||||
echo "Sorry, this must be done as root."
|
||||
exit 1
|
||||
fi
|
||||
tar --unlink -xpzf compat21.tgz -C /
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user