diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-19 11:05:19 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-19 11:05:19 +0200 |
commit | 53be14a19b0cecd5e2269c03ff4cab8f02b109e9 (patch) | |
tree | faae548cfe5dc66afbb4bb62b50eb56568f7c0ad /source4/script/installscripts.sh | |
parent | 87afa77eac72b84bccd292cba53ebec85dfd120c (diff) | |
download | samba-53be14a19b0cecd5e2269c03ff4cab8f02b109e9.tar.gz samba-53be14a19b0cecd5e2269c03ff4cab8f02b109e9.tar.bz2 samba-53be14a19b0cecd5e2269c03ff4cab8f02b109e9.zip |
Remove unused scripts.
Diffstat (limited to 'source4/script/installscripts.sh')
-rwxr-xr-x | source4/script/installscripts.sh | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/source4/script/installscripts.sh b/source4/script/installscripts.sh deleted file mode 100755 index bff5423e7c..0000000000 --- a/source4/script/installscripts.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# this script courtesy of James_K._Foote.PARC@xerox.com -# 5 July 96 Dan.Shearer@UniSA.Edu.Au Don't hardcode script names, get from Make - -INSTALLPERMS=$1 -BINDIR=$2 - -shift -shift - -echo Installing scripts in $BINDIR - -for d in $BINDIR; do - if [ ! -d $d ]; then - mkdir $d - if [ ! -d $d ]; then - echo Failed to make directory $d - echo Have you run installbin first? - exit 1 - fi - fi -done - -for p in $*; do - p2=`basename $p` - echo Installing $BINDIR/$p2 - if [ -f $BINDIR/$p2 ]; then - rm -f $BINDIR/$p2.old - mv $BINDIR/$p2 $BINDIR/$p2.old - fi - cp $p $BINDIR/ - chmod $INSTALLPERMS $BINDIR/$p2 - if [ ! -f $BINDIR/$p2 ]; then - echo Cannot copy $p2... does $USER have privileges? - fi -done - -cat << EOF -====================================================================== -The scripts have been installed. You may uninstall them using -the command "make uninstallscripts" or "make install" to install binaries, -man pages and shell scripts. You may recover the previous version (if any -by "make revert". -====================================================================== -EOF - -exit 0 |