Backup proxychains config

main
Bob Mottram 2020-06-27 11:30:10 +01:00
parent 44393f7277
commit d317c44880
1 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,12 @@ NGINX_PORT=9554
EPICYON_PORT=7158 EPICYON_PORT=7158
tunnels_dir=/var/lib/i2pd/tunnels.d tunnels_dir=/var/lib/i2pd/tunnels.d
# if proxychains already exists then make a copy of the
# older config
if [ -f /etc/proxychains.conf ]; then
mv /etc/proxychains.conf /etc/proxychains.conf.old
fi
echo 'Adding Epicyon dependencies' echo 'Adding Epicyon dependencies'
if [ -f /usr/bin/pacman ]; then if [ -f /usr/bin/pacman ]; then
pacman -Syy pacman -Syy