diff --git a/src/freedombone-utils-i2p b/src/freedombone-utils-i2p index e04bb49d..36f3cc61 100755 --- a/src/freedombone-utils-i2p +++ b/src/freedombone-utils-i2p @@ -82,6 +82,9 @@ function remove_i2p { if [ -d /usr/share/i2p ]; then rm -rf /usr/share/i2p fi + if [ -d /var/log/i2p ]; then + rm /var/log/i2p + fi } function i2p_enable_sam { @@ -97,6 +100,9 @@ function i2p_enable_sam { if [ -d /usr/share/i2p ]; then rm -rf /usr/share/i2p fi + if [ -d /var/log/i2p ]; then + rm /var/log/i2p + fi apt-get -yq install i2p i2p-keyring apt-get -yq install i2p-router sleep 10