aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2013-03-02 14:00:07 +0100
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2013-03-02 14:00:07 +0100
commit9f3633f07fde46de647d2e77ae1b01ccb5d7e299 (patch)
tree59dace331c069fe89835c9fb67d5a3b6b8fa11a3
parentce057aad73e556d03e62cfc320549bb310b18091 (diff)
downloadat-9f3633f07fde46de647d2e77ae1b01ccb5d7e299.tar.gz
Allow install.sh to succeed on Mandriva/ROSA
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--install.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/install.sh b/install.sh
index e3a9107..3379328 100644
--- a/install.sh
+++ b/install.sh
@@ -1,8 +1,11 @@
-sudo apt-get install realpath
-sudo apt-get install curl
-sudo apt-get install ia32-libs
-sudo apt-get install python
-
+if [ -e /etc/mandriva-release -o -e /etc/rosa-release ]; then
+ sudo urpmi curl python libc6 libstdc++6 libz1
+else
+ sudo apt-get install realpath
+ sudo apt-get install curl
+ sudo apt-get install ia32-libs
+ sudo apt-get install python
+fi
sudo bash -c "echo \"127.0.0.1 flexlm.linaro.org\" >> /etc/hosts"
@@ -12,4 +15,4 @@ export INSTALL_SCRIPT_DIR=$(dirname $(realpath ${BASH_SOURCE[0]}))
. $INSTALL_SCRIPT_DIR/install-474829.sh
# accept the license
-# I installed to /home/pfefferz/aarch64_3/RTSM_AEMv8_VE \ No newline at end of file
+# I installed to /home/pfefferz/aarch64_3/RTSM_AEMv8_VE