diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2007-11-17 15:59:51 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2007-11-17 15:59:51 +0000 |
| commit | 77f9f2cfd5656e4f5b2407915ca7122ec2e28b0a (patch) | |
| tree | c38698b1ff5a702f33a33871b3fc96dfc2a54b50 /install.sh | |
| parent | d10b12c4b91ae3ca74dc796b763ce6b1a954e2cc (diff) | |
| download | xxv-77f9f2cfd5656e4f5b2407915ca7122ec2e28b0a.tar.gz xxv-77f9f2cfd5656e4f5b2407915ca7122ec2e28b0a.tar.bz2 | |
* update install script, to be more compatibility
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -66,7 +66,7 @@ LANGS="de" PATH=$PATH:/sbin:/bin:/usr/sbin:/usr/bin -function usage() +usage() { echo "" echo "usage: $(basename $0) [-h] [-p] [-u]" @@ -79,7 +79,7 @@ function usage() exit 0 } -function killRunning() +killRunning() { local KILLED=0 ps a | grep xxvd | grep perl | grep -v grep | while read PID UNWANTED @@ -92,7 +92,7 @@ function killRunning() } # $1 - the Perl module to check for. -function checkPerlModule() +checkPerlModule() { [ -z "$1" ] && return 1 @@ -120,7 +120,7 @@ function checkPerlModule() fi } -function perlModules() +perlModules() { checkPerlModule CGI checkPerlModule Compress::Zlib @@ -158,7 +158,7 @@ function perlModules() checkPerlModule XML::Simple } -function makeDir() +makeDir() { [ -z "$1" ] && return 1 local DIR=$1 @@ -184,7 +184,7 @@ function makeDir() return 0 } -function doInstall() +doInstall() { echo "" echo "********* Installing xxv *************" @@ -346,7 +346,7 @@ flush privileges;" exit 0 } -function doUninstall() +doUninstall() { echo "" echo "********* Uninstalling xxv *************" |
