diff --git a/debian/patches/0001-path-substitution.patch b/debian/patches/0001-path-substitution.patch index e1cb1e72da8b63b98a2e25108c13f76e6b931f18..81a336fa12466246d095364388f2db96090ffdb5 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 39bc19d0b496b3aa093d4dff91224e701124be56..59f8b5232de5e2734499341bf58dc59923d89857 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