From eccdc051551594149e709ef0463e74d511dd4d0c Mon Sep 17 00:00:00 2001 From: titoko titoko Date: Fri, 29 Nov 2013 19:16:41 +0100 Subject: [PATCH] testurl --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 20ffbb9..157ecb2 100644 --- a/scripts/install +++ b/scripts/install @@ -11,7 +11,9 @@ exit 1 fi # Remove trailing "/" for next commands +if [ ! $path -lt 2 ]; then path=${path%/} +fi # Generate random DES key & password deskey=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')