make fedora installer understand DONT_START_TOR

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-07-01 15:14:40 +02:00
parent 3053b442c3
commit 03fcabd628

View file

@ -11,8 +11,10 @@ sudo dnf -y install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonf
sudo dnf -y --best --allowerasing install vlc splix gutenprint-cups cups-bjnp keepass mplayer golang
sudo dnf -y groupinstall "C Development Tools and Libraries"
if [[ -z $DONT_START_TOR ]]; then
sudo systemctl enable tor
sudo systemctl start tor
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$DIR/../"