home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 January
/
CHIPCD1_98.iso
/
software
/
pelne
/
monkey
/
mlinux06.a01
/
SBIN
/
INSTPKG
< prev
next >
Wrap
Text File
|
1997-02-09
|
581b
|
22 lines
#!/bin/sh
/sbin/umssync -v- / 2> /dev/null
if [ -d /install ]; then
# There can be more than 1 package to install
/sbin/umssync -v- /install 2> /dev/null
cd /install
for file in * ; do
if [ -r $file ]; then
echo "Found package $file, installing...."
( cd / ; tar xzf install/$file ; rm -f install/$file )
if [ -x /install/`echo $file | sed 's/\.tgz//'`.sh ]; then
( cd / ; . /install/`echo $file | sed 's/\.tgz//'`.sh )
rm -f /install/`echo $file | sed 's/\.tgz//'`.sh
fi
fi
done
cd -
/bin/rm -rf /install
fi
ldconfig