diff options
Diffstat (limited to 'installOSCAD.sh')
-rwxr-xr-x | installOSCAD.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/installOSCAD.sh b/installOSCAD.sh index 4cb733b..46e55fe 100755 --- a/installOSCAD.sh +++ b/installOSCAD.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# # installOSCAD.sh is a part of OSCAD. # Original Author: Yogesh Dilip Save (yogessave@gmail.com) # Copyright (C) 2012 Yogesh Dilip Save, FOSS Project, IIT Bombay. @@ -249,6 +249,13 @@ else fi echo "Installation started..............." +if [ -d $installDir/OSCAD ] +then +echo "Renaming your old OSCAD folder to OSCAD.bak" +mv -r $installDir/OSCAD $installDir/OSCAD.bak +fi +echo "Outof if loop" + #tar -zxvf OSCAD.tar.gz -C $installDir cp -rv OSCAD $installDir |