build: Remove unused uninstall*.sh scripts
authorAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2013 02:37:14 +0000 (12:37 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 May 2013 02:17:11 +0000 (12:17 +1000)
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/script/uninstallbin.sh.in [deleted file]
source3/script/uninstalldat.sh [deleted symlink]
source3/script/uninstallman.sh [deleted file]
source3/script/uninstallmo.sh [deleted file]
source3/script/uninstallmodules.sh [deleted file]
source3/script/uninstallmsg.sh [deleted symlink]
source3/script/uninstallscripts.sh [deleted file]
source3/script/uninstallswat.sh [deleted symlink]

diff --git a/source3/script/uninstallbin.sh.in b/source3/script/uninstallbin.sh.in
deleted file mode 100755 (executable)
index 8064db8..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-#4 July 96 Dan.Shearer@UniSA.edu.au   
-
-INSTALLPERMS=$1
-DESTDIR=$2
-prefix=`echo $3 | sed 's/\/\//\//g'`
-BINDIR=`echo $4 | sed 's/\/\//\//g'`
-SBINDIR=@sbindir@
-shift
-shift
-shift
-shift
-
-if [ ! -d $DESTDIR/$BINDIR ]; then
-  echo "Directory $DESTDIR/$BINDIR does not exist! "
-  echo "Do a "make installbin" or "make install" first. "
-  exit 1
-fi
-
-for p in $*; do
-  p2=`basename $p`
-  if [ -f $DESTDIR/$BINDIR/$p2 ]; then
-    echo "Removing $DESTDIR/$BINDIR/$p2 "
-    rm -f $DESTDIR/$BINDIR/$p2
-    if [ -f $DESTDIR/$BINDIR/$p2 ]; then
-      echo "Cannot remove $DESTDIR/$BINDIR/$p2 ... does $USER have privileges? "
-    fi
-  fi
-done
-
-
-cat << EOF
-======================================================================
-The binaries have been uninstalled. You may restore the binaries using
-the command "make installbin" or "make install" to install binaries, 
-man pages, modules and shell scripts. You can restore a previous
-version of the binaries (if there were any) using "make revert".
-======================================================================
-EOF
-
-exit 0
diff --git a/source3/script/uninstalldat.sh b/source3/script/uninstalldat.sh
deleted file mode 120000 (symlink)
index 6561427..0000000
+++ /dev/null
@@ -1 +0,0 @@
-installdat.sh
\ No newline at end of file
diff --git a/source3/script/uninstallman.sh b/source3/script/uninstallman.sh
deleted file mode 100755 (executable)
index 0fea11c..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-#4 July 96 Dan.Shearer@UniSA.edu.au
-#
-# 13 Aug 2001  Rafal Szczesniak <mimir@spin.ict.pwr.wroc.pl>
-#   modified to accomodate international man pages (inspired
-#   by Japanese edition's approach)
-
-
-MANDIR=`echo $1 | sed 's/\/\//\//g'`
-SRCDIR=$2
-langs=$3
-
-for lang in $langs; do
-  echo Uninstalling \"$lang\" man pages from $MANDIR/$lang
-
-  for sect in 1 5 7 8 ; do
-    for m in $MANDIR/$lang/man$sect ; do
-      for s in $SRCDIR/../docs/manpages/$lang/*$sect; do
-        FNAME=$m/`basename $s`
-       if test -f $FNAME; then
-         echo Deleting $FNAME
-         rm -f $FNAME 
-         test -f $FNAME && echo Cannot remove $FNAME... does $USER have privileges?   
-        fi
-      done
-    done
-  done
-done
-
-cat << EOF
-======================================================================
-The man pages have been uninstalled. You may install them again using 
-the command "make installman" or make "install" to install binaries,
-man pages and shell scripts.
-======================================================================
-EOF
-exit 0
diff --git a/source3/script/uninstallmo.sh b/source3/script/uninstallmo.sh
deleted file mode 100755 (executable)
index 663c6b1..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-script/installmo.sh
diff --git a/source3/script/uninstallmodules.sh b/source3/script/uninstallmodules.sh
deleted file mode 100755 (executable)
index fc80565..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-#4 July 96 Dan.Shearer@UniSA.edu.au   
-
-INSTALLPERMS=$1
-DESTDIR=$2
-prefix=`echo $3 | sed 's/\/\//\//g'`
-LIBDIR=`echo $4 | sed 's/\/\//\//g'`
-shift
-shift
-shift
-shift
-
-if [ ! -d $DESTDIR/$LIBDIR ]; then
-  echo "Directory $DESTDIR/$LIBDIR does not exist! "
-  echo "Do a "make installmodules" or "make install" first. "
-  exit 1
-fi
-
-for p in $*; do
-  p2=`basename $p`
-  if [ -f $DESTDIR/$LIBDIR/$p2 ]; then
-    echo "Removing $DESTDIR/$LIBDIR/$p2 "
-    rm -f $DESTDIR/$LIBDIR/$p2
-    if [ -f $DESTDIR/$LIBDIR/$p2 ]; then
-      echo "Cannot remove $DESTDIR/$LIBDIR/$p2 ... does $USER have privileges? "
-    fi
-  fi
-done
-
-
-cat << EOF
-======================================================================
-The modules have been uninstalled. You may restore the modules using
-the command "make installmodules" or "make install" to install 
-binaries, modules, man pages and shell scripts. 
-======================================================================
-EOF
-
-exit 0
diff --git a/source3/script/uninstallmsg.sh b/source3/script/uninstallmsg.sh
deleted file mode 120000 (symlink)
index c108fa4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-installmsg.sh
\ No newline at end of file
diff --git a/source3/script/uninstallscripts.sh b/source3/script/uninstallscripts.sh
deleted file mode 100755 (executable)
index cf7fd71..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-# 5 July 96 Dan.Shearer@UniSA.Edu.Au  - almost identical to uninstallbin.sh
-
-INSTALLPERMS=$1
-BINDIR=`echo $2 | sed 's/\/\//\//g'`
-
-shift
-shift
-
-if [ ! -d $BINDIR ]; then
-  echo Directory $BINDIR does not exist!
-  echo Do a "make installscripts" or "make install" first.
-  exit 1
-fi
-
-for p in $*; do
-  p2=`basename $p`
-  if [ -f $BINDIR/$p2 ]; then
-    echo Removing $BINDIR/$p2
-    rm -f $BINDIR/$p2
-    if [ -f $BINDIR/$p2 ]; then
-      echo Cannot remove $BINDIR/$p2 ... does $USER have privileges?
-    fi
-  fi
-done
-
-cat << EOF
-======================================================================
-The scripts have been uninstalled. You may reinstall them using
-the command "make installscripts" or "make install" to install binaries,
-man pages and shell scripts. You may recover a previous version (if any
-with "make revert".
-======================================================================
-EOF
-
-exit 0
diff --git a/source3/script/uninstallswat.sh b/source3/script/uninstallswat.sh
deleted file mode 120000 (symlink)
index 0dffe64..0000000
+++ /dev/null
@@ -1 +0,0 @@
-installswat.sh
\ No newline at end of file