diff options
author | rahulp13 | 2020-02-20 16:11:56 +0530 |
---|---|---|
committer | rahulp13 | 2020-02-20 16:11:56 +0530 |
commit | 295534960d75ac94c5f50fd9a6a3cecfc48c0f12 (patch) | |
tree | c497e49f5638cb4f1fcdb5d12ef13e74ccd1a95e /Debian/Ubuntu 16.04+/install-nghdl.sh | |
parent | 73ac34b39b95356f49ca833b071e7cb5c9f6a25f (diff) | |
download | nghdl-295534960d75ac94c5f50fd9a6a3cecfc48c0f12.tar.gz nghdl-295534960d75ac94c5f50fd9a6a3cecfc48c0f12.tar.bz2 nghdl-295534960d75ac94c5f50fd9a6a3cecfc48c0f12.zip |
packaging with pyinstaller
Diffstat (limited to 'Debian/Ubuntu 16.04+/install-nghdl.sh')
-rwxr-xr-x | Debian/Ubuntu 16.04+/install-nghdl.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Debian/Ubuntu 16.04+/install-nghdl.sh b/Debian/Ubuntu 16.04+/install-nghdl.sh index 274d09c..f319d46 100755 --- a/Debian/Ubuntu 16.04+/install-nghdl.sh +++ b/Debian/Ubuntu 16.04+/install-nghdl.sh @@ -164,7 +164,7 @@ function installNgspice echo "Adding softlink for the installed Ngspice....." sudo rm /usr/bin/ngspice - sudo ln -s $HOME/$ngspice/install_dir/bin/ngspice /usr/bin/ngspice + sudo ln -sf $HOME/$ngspice/install_dir/bin/ngspice /usr/bin/ngspice if [ $? -ne 0 ];then echo "Failed to add Ngspice softlink............" echo "Remove earlier installations at /usr/bin/ngspice and try again..." @@ -216,10 +216,10 @@ function createSoftLink if [[ -L nghdl ]];then echo "Symlink was already present" sudo unlink nghdl - sudo ln -sf $src_dir/src/ngspice_ghdl.py nghdl + sudo ln -sf $src_dir/src/nghdl nghdl else echo "Creating symlink" - sudo ln -sf $src_dir/src/ngspice_ghdl.py nghdl + sudo ln -sf $src_dir/src/nghdl nghdl if [ $? -ne 0 ];then echo "Failed to add NGHDL softlink" echo "Remove earlier installations at /usr/local/bin/nghdl and try again..." @@ -263,7 +263,6 @@ if [ $option == "--install" ];then createSoftLink elif [ $option == "--uninstall" ];then - echo "Removing NGHDL....................." sudo rm -rf $HOME/ngspice-nghdl $HOME/.nghdl /usr/share/kicad/library/eSim_Nghdl.lib /usr/local/bin/nghdl /usr/bin/ngspice echo "Removing libxaw7-dev..............." sudo apt purge -y libxaw7-dev |