diff options
author | manojgudi | 2013-10-30 10:46:03 +0530 |
---|---|---|
committer | manojgudi | 2013-10-30 10:46:03 +0530 |
commit | 35f360bb6d7d9ad5e1154b874dc59d30694c0810 (patch) | |
tree | 1e038e3b8411d61498278e77f4e82157e79114a6 | |
parent | 697743076d631a3d35d015a0246c251f178816de (diff) | |
download | sciscipy-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-x | install | 7 | ||||
-rw-r--r-- | uninstall | 2 |
2 files changed, 6 insertions, 3 deletions
@@ -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 @@ -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 |