summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-05-22 12:37:14 +1000
committerAndrew Bartlett <abartlet@samba.org>2013-05-28 12:17:11 +1000
commit26ff1f2167c8f326c3ea17bc69ee927d58b5baf8 (patch)
treea746508f2227c2c6c07e2583a1627fff8960aeaf /source3
parentd98f1075443b7feedab0212e75366d502b20e17a (diff)
downloadsamba-26ff1f2167c8f326c3ea17bc69ee927d58b5baf8.tar.gz
samba-26ff1f2167c8f326c3ea17bc69ee927d58b5baf8.tar.xz
samba-26ff1f2167c8f326c3ea17bc69ee927d58b5baf8.zip
build: Remove unused uninstall*.sh scripts
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/script/uninstallbin.sh.in41
l---------source3/script/uninstalldat.sh1
-rwxr-xr-xsource3/script/uninstallman.sh37
-rwxr-xr-xsource3/script/uninstallmo.sh2
-rwxr-xr-xsource3/script/uninstallmodules.sh39
l---------source3/script/uninstallmsg.sh1
-rwxr-xr-xsource3/script/uninstallscripts.sh36
l---------source3/script/uninstallswat.sh1
8 files changed, 0 insertions, 158 deletions
diff --git a/source3/script/uninstallbin.sh.in b/source3/script/uninstallbin.sh.in
deleted file mode 100755
index 8064db8d95..0000000000
--- a/source3/script/uninstallbin.sh.in
+++ /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
index 656142745c..0000000000
--- a/source3/script/uninstalldat.sh
+++ /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
index 0fea11cd1b..0000000000
--- a/source3/script/uninstallman.sh
+++ /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
index 663c6b1296..0000000000
--- a/source3/script/uninstallmo.sh
+++ /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
index fc80565cb5..0000000000
--- a/source3/script/uninstallmodules.sh
+++ /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
index c108fa4416..0000000000
--- a/source3/script/uninstallmsg.sh
+++ /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
index cf7fd71999..0000000000
--- a/source3/script/uninstallscripts.sh
+++ /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
index 0dffe646f0..0000000000
--- a/source3/script/uninstallswat.sh
+++ /dev/null
@@ -1 +0,0 @@
-installswat.sh \ No newline at end of file