summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenServer/pkg/Packem
blob: a1b67e972d98621f1c45b15e919ef0335f0db2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

P=`pwd`
PKGTAR=`basename $P`-VOLS.tar
PKGDIST=`basename $P`-dist.tar.gz

DIRS=usr
[ -d etc ] && DIRS="etc usr"
cd archives/FLOPPY
tar cf ../../$PKGTAR VOL*
cd ../..
tar cf - $DIRS | /usr/local/bin/gzip -9 > $PKGDIST
[ -f $PKGTAR ] && rm -rf archives
[ -f $PKGDIST ] && rm -rf $DIRS
rm -rf sso