diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-05-22 12:36:34 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-28 12:17:11 +1000 |
commit | d98f1075443b7feedab0212e75366d502b20e17a (patch) | |
tree | ccd6fbc442b86569fb66e2ba1e737f8e3ffffe15 /source3/script/installscripts.sh | |
parent | 167b8bddad24421a2e8fcf0e7647ef3296b1665c (diff) | |
download | samba-d98f1075443b7feedab0212e75366d502b20e17a.tar.gz samba-d98f1075443b7feedab0212e75366d502b20e17a.tar.bz2 samba-d98f1075443b7feedab0212e75366d502b20e17a.zip |
build: Remove unused install*.sh scripts
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/script/installscripts.sh')
-rwxr-xr-x | source3/script/installscripts.sh | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/source3/script/installscripts.sh b/source3/script/installscripts.sh deleted file mode 100755 index 81608c3682..0000000000 --- a/source3/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=`echo $2 | sed 's/\/\//\//g'` - -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 |