diff options
Diffstat (limited to 'packaging/Digital')
-rwxr-xr-x | packaging/Digital/package-prep | 16 | ||||
-rwxr-xr-x | packaging/Digital/samba.init | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/packaging/Digital/package-prep b/packaging/Digital/package-prep index a1d3827553..2daee8b69e 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 diff --git a/packaging/Digital/samba.init b/packaging/Digital/samba.init index c1d605cda0..6a74244089 100755 --- a/packaging/Digital/samba.init +++ b/packaging/Digital/samba.init @@ -19,8 +19,8 @@ case "$1" in 'start') echo "Starting Samba" - /usr/local/samba/sbin/smbd - /usr/local/samba/sbin/nmbd + /usr/local/samba/bin/smbd + /usr/local/samba/bin/nmbd echo "Done." ;; 'stop') |