summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenServer/pkg/Packem
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Caldera/OpenServer/pkg/Packem')
-rwxr-xr-xpackaging/Caldera/OpenServer/pkg/Packem15
1 files changed, 15 insertions, 0 deletions
diff --git a/packaging/Caldera/OpenServer/pkg/Packem b/packaging/Caldera/OpenServer/pkg/Packem
new file mode 100755
index 0000000000..a1b67e972d
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/Packem
@@ -0,0 +1,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