Use default topology when no topology file is provided
Change-Id: Icbc434a82cc147c84680c77e2f089f20d50ad803
refs: #2915
diff --git a/install.sh b/install.sh
index ca86513..e40ac47 100755
--- a/install.sh
+++ b/install.sh
@@ -144,10 +144,14 @@
$install python-setuptools
pysetup="true"
fi
- sudo mkdir -p /usr/local/etc/mini-ndn/
- sudo cp ndn_utils/client.conf.sample /usr/local/etc/mini-ndn/
- sudo cp ndn_utils/nfd.conf /usr/local/etc/mini-ndn/
- sudo cp ndn_utils/nlsr.conf /usr/local/etc/mini-ndn/
+ install_dir="/usr/local/etc/mini-ndn/"
+
+ sudo mkdir -p "$install_dir"
+ sudo cp ndn_utils/client.conf.sample "$install_dir"
+ sudo cp ndn_utils/nfd.conf "$install_dir"
+ sudo cp ndn_utils/nlsr.conf "$install_dir"
+ sudo cp ndn_utils/topologies/default-topology.conf "$install_dir"
+ sudo cp ndn_utils/topologies/minindn.testbed.conf "$install_dir"
sudo python setup.py install
}