diff --git a/scripts/install b/scripts/install index 6eee341..d5e2e1a 100644 --- a/scripts/install +++ b/scripts/install @@ -13,14 +13,6 @@ fi # Remove trailing "/" for next commands path=${path%/} - - - -# 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') -db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p') - - # Copy files to the right place final_path=/var/www/jappix sudo mkdir -p $final_path diff --git a/scripts/upgrade b/scripts/upgrade index 21f71a8..b44ff47 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -13,11 +13,6 @@ fi # Remove trailing "/" for next commands path=${path%/} -# 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') -db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p') - - # Copy files to the right place final_path=/var/www/jappix sudo mkdir -p $final_path