summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-01-15 16:29:38 +0000
committerGerald Carter <jerry@samba.org>2003-01-15 16:29:38 +0000
commitc9fce34d0034555697d5c7b6a4b05306d08e1294 (patch)
treec83b9c6d1058fa5e24f4dc3ca231d96bf9f37f63 /source3/script
parent9eeab10e54e9e94082ced649b33ee45b4f59f858 (diff)
downloadsamba-c9fce34d0034555697d5c7b6a4b05306d08e1294.tar.gz
samba-c9fce34d0034555697d5c7b6a4b05306d08e1294.tar.bz2
samba-c9fce34d0034555697d5c7b6a4b05306d08e1294.zip
remving more unused files
(This used to be commit e3f9b68deecb61274ead2086a0ed977d5318b09c)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/installcp.sh44
-rwxr-xr-xsource3/script/uninstallcp.sh33
2 files changed, 0 insertions, 77 deletions
diff --git a/source3/script/installcp.sh b/source3/script/installcp.sh
deleted file mode 100755
index d0c5bf8ecc..0000000000
--- a/source3/script/installcp.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-srcdir=$1
-LIBDIR=$2
-CODEPAGEDIR=$3
-BINDIR=$4
-
-shift
-shift
-shift
-shift
-
-echo Installing codepage files in $CODEPAGEDIR
-for d in $LIBDIR $CODEPAGEDIR; do
-if [ ! -d $d ]; then
-mkdir $d
-if [ ! -d $d ]; then
- echo Failed to make directory $d
- exit 1
-fi
-fi
-done
-
-for p in $*; do
- if [ -f ${srcdir}/codepages/codepage_def.$p ]; then
- echo Creating codepage file $CODEPAGEDIR/codepage.$p
- $BINDIR/make_smbcodepage c $p ${srcdir}/codepages/codepage_def.$p $CODEPAGEDIR/codepage.$p
- fi
- if [ -f ${srcdir}/codepages/CP${p}.TXT ]; then
- echo Creating unicode map $CODEPAGEDIR/unicode_map.$p
- $BINDIR/make_unicodemap $p ${srcdir}/codepages/CP${p}.TXT $CODEPAGEDIR/unicode_map.$p
- fi
-done
-
-
-cat << EOF
-======================================================================
-The code pages have been installed. You may uninstall them using the
-command "make uninstallcp" or make "uninstall" to uninstall binaries,
-man pages, shell scripts and code pages.
-======================================================================
-EOF
-
-exit 0
-
diff --git a/source3/script/uninstallcp.sh b/source3/script/uninstallcp.sh
deleted file mode 100755
index 2a9e9d509a..0000000000
--- a/source3/script/uninstallcp.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-CPDIR=$1
-shift
-
-if [ ! -d $CPDIR ]; then
- echo Directory $CPDIR does not exist!
- echo Do a "make installcp" or "make install" first.
- exit 1
-fi
-
-for p in $*; do
- if [ ! -f $CPDIR/unicode_map.$p ]; then
- echo $CPDIR/unicode_map.$p does not exist!
- else
- echo Removing $CPDIR/unicode_map.$p
- rm -f $CPDIR/unicode_map.$p
- if [ -f $CPDIR/unicode_map.$p ]; then
- echo Cannot remove $CPDIR/unicode_map.$p... does $USER have privileges?
- fi
- fi
-done
-
-cat << EOF
-======================================================================
-The code pages have been uninstalled. You may reinstall them using
-the command "make installcp" or "make install" to install binaries,
-man pages, shell scripts and code pages. You may recover a previous version
-(if any with "make revert").
-======================================================================
-EOF
-
-exit 0