summaryrefslogtreecommitdiff
path: root/install-nghdl.sh
diff options
context:
space:
mode:
authorfossee2019-09-03 11:57:23 +0530
committerfossee2019-09-03 11:57:23 +0530
commit13b65c2e7ef066d2481e384352402de7cd9ff7fe (patch)
treebb19e1f183b9350dd2c436e8bb8ea884aa051a3d /install-nghdl.sh
parent015250dd50360abd96d1340d9ec903b2fc402f4d (diff)
downloadnghdl-13b65c2e7ef066d2481e384352402de7cd9ff7fe.tar.gz
nghdl-13b65c2e7ef066d2481e384352402de7cd9ff7fe.tar.bz2
nghdl-13b65c2e7ef066d2481e384352402de7cd9ff7fe.zip
earlier ngpsice uninstall
Diffstat (limited to 'install-nghdl.sh')
-rwxr-xr-xinstall-nghdl.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install-nghdl.sh b/install-nghdl.sh
index eae2242..9ded53a 100755
--- a/install-nghdl.sh
+++ b/install-nghdl.sh
@@ -135,6 +135,9 @@ function installNgspice
make
make install
if [ "$?" == 0 ];then
+ echo "Removing previously Installed Ngspice......"
+ sudo apt-get remove ngspice
+
echo "Ngspice Installed sucessfully......"
echo "Adding softlink for the installed ngspice......"