1995-01-14 07:41:52 +00:00
|
|
|
#!/bin/sh
|
1995-04-13 09:06:15 +00:00
|
|
|
# $Id: extract_bin.sh,v 1.5 1995/04/09 03:44:03 jkh Exp $
|
|
|
|
set -e
|
1995-01-14 07:41:52 +00:00
|
|
|
PATH=/stand:$PATH
|
|
|
|
DDIR=/
|
|
|
|
|
1995-04-13 09:06:15 +00:00
|
|
|
|
1995-01-14 07:41:52 +00:00
|
|
|
# Temporary kludge for pathological bindist.
|
1995-03-28 18:14:10 +00:00
|
|
|
if [ -f $DDIR/etc/sysconfig ]; then
|
|
|
|
mv $DDIR/etc/sysconfig $DDIR/etc/sysconfig.save
|
|
|
|
fi
|
1995-01-28 09:04:12 +00:00
|
|
|
cat bin.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
1995-03-28 18:14:10 +00:00
|
|
|
if [ -f $DDIR/etc/sysconfig.save ]; then
|
|
|
|
mv $DDIR/etc/sysconfig.save $DDIR/etc/sysconfig
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Save some space in the tarballs by not sending these bloated files...
|
|
|
|
cd /usr/share/misc
|
|
|
|
for i in termcap vgrindefs
|
|
|
|
do
|
1995-04-13 09:06:15 +00:00
|
|
|
echo "running cap_mkdb $i"
|
1995-03-28 18:14:10 +00:00
|
|
|
/usr/bin/cap_mkdb $i
|
|
|
|
/usr/sbin/chown bin.bin $i.db
|
|
|
|
/bin/chmod 444 $i.db
|
|
|
|
done
|
|
|
|
|
1995-01-14 07:41:52 +00:00
|
|
|
chmod 1777 /tmp
|