diff --git a/debian/patches/0001-path-substitution.patch b/debian/patches/0001-path-substitution.patch index e1cb1e72d..81a336fa1 100644 --- a/debian/patches/0001-path-substitution.patch +++ b/debian/patches/0001-path-substitution.patch @@ -41,7 +41,7 @@ Debian wrapper.config to try to prevent confusion. -# should have been replaced by the izpack installer. -# If you did not run the installer, replace them with the appropriate paths. -I2P="%INSTALL_PATH" --if [ "`uname -s`" == "Darwin" ]; then +-if [ "`uname -s`" = "Darwin" ]; then - if [ -d "%USER_HOME/Library/Application Support" ]; then - I2P_CONFIG_DIR="%USER_HOME/Library/Application Support/i2p" - else diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter index 39bc19d0b..59f8b5232 100644 --- a/installer/resources/i2prouter +++ b/installer/resources/i2prouter @@ -29,7 +29,7 @@ # should have been replaced by the izpack installer. # If you did not run the installer, replace them with the appropriate paths. I2P="%INSTALL_PATH" -if [ "`uname -s`" == "Darwin" ]; then +if [ "`uname -s`" = "Darwin" ]; then if [ -d "%USER_HOME/Library/Application Support" ]; then I2P_CONFIG_DIR="%USER_HOME/Library/Application Support/i2p" else