Created
March 26, 2013 13:36
-
-
Save hafichuk/5245412 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# fail fast | |
set -e | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
if [ -z `which curl` ]; then | |
apt-get -y install curl | |
fi | |
apt-get -y install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6 libc6-i386 ia32-libs-gtk lib32nss-mdns | |
curl http://usablesoftware.files.wordpress.com/2011/02/getlibs-all-deb.pdf > getlibs-all.deb | |
dpkg -i getlibs-all.deb | |
getlibs -p gnome-keyring | |
getlibs -p libhal-storage1 | |
wget http://mirrors.kernel.org/ubuntu/pool/main/n/nss/libnss3-1d_3.12.0%7Ebeta3-0ubuntu1_i386.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/main/n/nspr/libnspr4-0d_4.7.1%7Ebeta2-0ubuntu1_i386.deb | |
ln -s /usr/lib32/libnss3.so.1d /usr/lib32/libnss3.so | |
ln -s /usr/lib32/libssl3.so.1d /usr/lib32/libssl3.so | |
ln -s /usr/lib32/libnspr4.so.0d /usr/lib32/libnspr4.so | |
ln -s /usr/lib32/libsmime3.so.1d /usr/lib32/libsmime3.so # missing from adobe's instructions | |
ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0 | |
ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0 | |
wget http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin | |
chmod 777 ./AdobeAIRInstaller.bin | |
./AdobeAIRInstaller.bin | |
wget -O /tmp/hipchat.air http://downloads.hipchat.com/hipchat.air | |
/opt/Adobe\ AIR/Versions/1.0/Adobe\ AIR\ Application\ Installer /tmp/hipchat.air |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment