summaryrefslogtreecommitdiffstats
path: root/packaging/Digital/package-prep
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Digital/package-prep')
-rwxr-xr-xpackaging/Digital/package-prep16
1 files changed, 8 insertions, 8 deletions
diff --git a/packaging/Digital/package-prep b/packaging/Digital/package-prep
index a1d3827553c..2daee8b69ef 100755
--- a/packaging/Digital/package-prep
+++ b/packaging/Digital/package-prep
@@ -1,10 +1,10 @@
tar xvf skeleton.tar
+NOWDIR=`pwd`;
( cd /usr/local;
- mv man man.orig;
- mv samba samba.orig;
- DIRNOW=`pwd1`;
- ln -sf $NOWDIR/usr/local/man man;
- ln -sf $NOWDIR/usr/local/samba samba; )
+ if [ -x man ]; then mv man man.orig; fi
+ if [ -x samba ]; then mv samba samba.orig; fi
+ ln -sf $NOWDIR/usr/local/man man;
+ ln -sf $NOWDIR/usr/local/samba samba; )
gunzip samba-2.0.0.tar.gz
tar xvf samba-2.0.0.tar
cd samba-2.0.0/source
@@ -24,7 +24,7 @@ tar cvf samba-2.0.0.tar samba-2.0.0
rm -rf samba-2.0.0
rm -rf usr var
cd ..
-find samba-2.0.0 -print | cpio -o > samba-2.0.0-OSF1-v4.0-alpha.cpio
-gzip samba-2.0.0-OSF1-v4.0-alpha.cpio
+find samba-2.0.0 -print | cpio -o > samba-2.0.0-OSF1-v4.0-beta5.cpio
+gzip samba-2.0.0-OSF1-v4.0-beta5.cpio
cd samba-2.0.0
-tar xcf install.tar
+tar xvf install.tar