From cc3a8e5d627317ad665e564477f63e7b4696b6a9 Mon Sep 17 00:00:00 2001 From: kytv Date: Sat, 4 Aug 2012 17:32:11 +0000 Subject: [PATCH] have izpack expand %USER_HOME in i2prouter This will solve the issue of I2P_CONFIG_DIR being set incorrectly if another user runs i2prouter once, such as when installing the initscript. --- installer/resources/i2prouter | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter index ac391947ea..671f36d5fb 100644 --- a/installer/resources/i2prouter +++ b/installer/resources/i2prouter @@ -22,14 +22,14 @@ # #----------------------------------------------------------------------------- # These settings can be modified to fit the needs of your application -# Optimized for use with version 3.5.12 of the Wrapper. +# Optimized for use with version 3.5.14 of the Wrapper. # Paths -# Note that (percent)INSTALL_PATH and (percent)SYSTEM_java_io_tmpdir +# Note that (percent)INSTALL_PATH, (percent)USER_HOME, and (percent)SYSTEM_java_io_tmpdir # should have been replaced by the izpack installer. -# If you did not run the installer, replace them with the appropriate path. +# If you did not run the installer, replace them with the appropriate paths. I2P="%INSTALL_PATH" -I2P_CONFIG_DIR="$HOME/.i2p" +I2P_CONFIG_DIR="%USER_HOME/.i2p" I2PTEMP="%SYSTEM_java_io_tmpdir" # PORTABLE installation: # Use the following instead.