summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanojgudi2013-10-30 10:46:03 +0530
committermanojgudi2013-10-30 10:46:03 +0530
commit35f360bb6d7d9ad5e1154b874dc59d30694c0810 (patch)
tree1e038e3b8411d61498278e77f4e82157e79114a6
parent697743076d631a3d35d015a0246c251f178816de (diff)
downloadsciscipy-1.0.0-35f360bb6d7d9ad5e1154b874dc59d30694c0810.tar.gz
sciscipy-1.0.0-35f360bb6d7d9ad5e1154b874dc59d30694c0810.tar.bz2
sciscipy-1.0.0-35f360bb6d7d9ad5e1154b874dc59d30694c0810.zip
check for armel | untested
-rwxr-xr-xinstall7
-rw-r--r--uninstall2
2 files changed, 6 insertions, 3 deletions
diff --git a/install b/install
index 19508b3..579b65d 100755
--- a/install
+++ b/install
@@ -9,8 +9,11 @@ end=$(tput sgr 0)
platform=`uname -i`
# Checking platforms
-if [[ $platform == "x86_64" ]] then
+if [[ $platform == "x86_64" ]]; then
platform="amd64"
+elif [[ $platform == "armv7l" ]]; then
+chipset="armv7l"
+platform="arm"
fi
@@ -27,7 +30,7 @@ echo "$bold $red Installing sciscipy $end"
./setup.py build
# For Debian/Ubuntu based OSes
-sudo ./setup.py install --install-layout=deb --record install_files.txt
+sudo ./setup.py install --install-layout=deb --record installed_files.txt
echo "$bold $red Setting up variables $end"
s2pconf=/etc/ld.so.conf.d/sciscipy.conf
diff --git a/uninstall b/uninstall
index 2fa63b3..848985b 100644
--- a/uninstall
+++ b/uninstall
@@ -1,3 +1,3 @@
#!/bin/bash
echo "Removed installed files..."
-cat install_files.txt | sudo xargs rm -rf
+cat installed_files.txt | sudo xargs rm -rf