summaryrefslogtreecommitdiff
path: root/installModule.sh
diff options
context:
space:
mode:
authorFahim2014-08-07 14:20:36 +0530
committerFahim2014-08-07 14:20:36 +0530
commit0e3e1baf62dc1f2148862af234b593be84f604d5 (patch)
treeb1981e51417e5a628fb44cc1e61a3b87348186f1 /installModule.sh
parentaa39df1c43c7fc9fa687c86090094ee21760091a (diff)
downloadFreeEDA-0e3e1baf62dc1f2148862af234b593be84f604d5.tar.gz
FreeEDA-0e3e1baf62dc1f2148862af234b593be84f604d5.tar.bz2
FreeEDA-0e3e1baf62dc1f2148862af234b593be84f604d5.zip
Subject: Changes in Oscad Installation Scriptv1.0
Description: Modified Oscad installation script to install it in one run. Also make few permission changes for desktop icon of OSCAD.
Diffstat (limited to 'installModule.sh')
-rwxr-xr-x[-rw-r--r--]installModule.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/installModule.sh b/installModule.sh
index 4533bd7..9234d94 100644..100755
--- a/installModule.sh
+++ b/installModule.sh
@@ -10,5 +10,9 @@ echo -n "Installing "
echo -n $1
echo "................."
sudo apt-get install $1
-
-
+ if [ $? -ne 1 ]
+ then
+ echo 0 > pypkgExitStatus
+ else
+ echo 1 > pypkgExitStatus
+ fi