Closed apsamuel closed 9 years ago
Really? I see the code block ending with fi
.
Are you sure you copied it all?
if [[ $(getconf LONG_BIT) = "64" ]]
then
echo "64bit Detected" &&
echo "Installing Google Chrome" &&
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
sudo dpkg -i google-chrome-stable_current_amd64.deb &&
rm -f google-chrome-stable_current_amd64.deb
else
echo "32bit Detected" &&
echo "Installing Google Chrome" &&
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
sudo dpkg -i google-chrome-stable_current_i386.deb &&
rm -f google-chrome-stable_current_i386.deb
fi
apologies - i didn't notice the content box was 'scrollable'.
Kind Regards, Aaron Peter Samuel Enterprise Solutions Expert Specialties: Unix/Linux, Networking, Applications, Storage Profile: http://www.google.com/profiles/aaron.psamuel References: http://www.linkedin.com/in/aaronpsamuel
If you aren't proud of it, it isn't good enough.
On Sun, Sep 21, 2014 at 5:28 PM, Lewis Goddard notifications@github.com wrote:
Really? I see the code block ending with fi.
Are you sure you copied it all?
if [[ $(getconf LONG_BIT) = "64" ]] then echo "64bit Detected" && echo "Installing Google Chrome" && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo dpkg -i google-chrome-stable_current_amd64.deb && rm -f google-chrome-stable_current_amd64.deb else echo "32bit Detected" && echo "Installing Google Chrome" && wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb && sudo dpkg -i google-chrome-stable_current_i386.deb && rm -f google-chrome-stable_current_i386.deb fi
— Reply to this email directly or view it on GitHub https://github.com/eustasy/howtoubuntu.org/issues/16#issuecomment-56313405 .
http://howtoubuntu.org/things-to-do-after-installing-ubuntu-14-04-trusty-tahr
Nice article!!