This file contains 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 | |
# Install latest versions of Google Chrome (stable and unstable) on Ubuntu 12.04 LTS | |
# Google does not support latest versions of Chrome on Ubuntu 12, but it works after re-writing the .deb file requirements | |
# (specifically 'lsb-base' and 'libfontconfig1') | |
# From by http://askubuntu.com/questions/758571/google-chrome-stable-depends-on-libstdc6-4-8-0-however-version-of-libs | |
cwd=`pwd` | |
# make temp directory | |
temp_dir=$(mktemp -d "${TMPDIR:-/tmp/}google-chrome-install.XXXXXXXXX") |
This file contains 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 | |
# Determine if .deb package dependencies are met | |
if [[ -z "$1" || "$1" == '--help' || "$1" == "-h" ]]; then | |
echo "Usage $0 file.deb" | |
exit 0 | |
fi | |
if [[ ! -f "$1" ]]; then |