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/installdat.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/installdat.sh')
-rwxr-xr-x | source3/script/installdat.sh | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/source3/script/installdat.sh b/source3/script/installdat.sh deleted file mode 100755 index 2cc3677fba..0000000000 --- a/source3/script/installdat.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh -#fist version March 2002, Herb Lewis - -DESTDIR=$1 -DATDIR=`echo $2 | sed 's/\/\//\//g'` -SRCDIR=$3/ -shift -shift -shift - -case $0 in - *uninstall*) - if test ! -d "$DESTDIR/$DATDIR"; then - echo "Directory $DESTDIR/$DATDIR does not exist! " - echo "Do a "make installmsg" or "make install" first. " - exit 1 - fi - mode='uninstall' - ;; - *) mode='install' ;; -esac - -for f in $SRCDIR/../codepages/*.dat; do - FNAME="$DESTDIR/$DATDIR/`basename $f`" - if test "$mode" = 'install'; then - echo "Installing $f as $FNAME " - cp "$f" "$FNAME" - if test ! -f "$FNAME"; then - echo "Cannot install $FNAME. Does $USER have privileges? " - exit 1 - fi - chmod 0644 "$FNAME" - elif test "$mode" = 'uninstall'; then - echo "Removing $FNAME " - rm -f "$FNAME" - if test -f "$FNAME"; then - echo "Cannot remove $FNAME. Does $USER have privileges? " - exit 1 - fi - else - echo "Unknown mode, $mode. Script called as $0 " - exit 1 - fi -done - -if test "$mode" = 'install'; then - cat << EOF -====================================================================== -The dat files have been installed. You may uninstall the dat files -using the command "make uninstalldat" or "make uninstall" to uninstall -binaries, man pages, dat files, and shell scripts. -====================================================================== -EOF -else - cat << EOF -====================================================================== -The dat files have been removed. You may restore these files using -the command "make installdat" or "make install" to install binaries, -man pages, modules, dat files, and shell scripts. -====================================================================== -EOF -fi - -exit 0 - |