Remove i2p directories
This commit is contained in:
parent
6c7bd07f05
commit
10ee8db478
|
@ -88,9 +88,18 @@ function i2p_enable_sam {
|
|||
if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then
|
||||
apt-get -yq remove i2p --purge
|
||||
apt-get -yq remove i2p-router --purge
|
||||
apt-get -yq install i2p
|
||||
if [ -d /var/lib/i2p ]; then
|
||||
rm -rf /var/lib/i2p
|
||||
fi
|
||||
if [ -d /etc/i2p ]; then
|
||||
rm -rf /etc/i2p
|
||||
fi
|
||||
if [ -d /usr/share/i2p ]; then
|
||||
rm -rf /usr/share/i2p
|
||||
fi
|
||||
apt-get -yq install i2p i2p-keyring
|
||||
apt-get -yq install i2p-router
|
||||
sleep 2
|
||||
sleep 10
|
||||
fi
|
||||
if [ ! -f /var/lib/i2p/i2p-config/clients.config ]; then
|
||||
echo $'File not found /var/lib/i2p/i2p-config/clients.config'
|
||||
|
|
Loading…
Reference in New Issue