Skip to content

Instantly share code, notes, and snippets.

@notpushkin
Created February 10, 2014 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notpushkin/8920997 to your computer and use it in GitHub Desktop.
Save notpushkin/8920997 to your computer and use it in GitHub Desktop.
Firestarter is an easy script to install Firefox on Debian systems
#!/bin/bash
if [ "`whoami`" != "root" ]; then
echo "Please run this script as root"
else
echo "Going to install latest stable Firefox, is it OK?"
echo "Press Enter to continue or Ctrl-C to stop"
if read; then
echo "Adding Linux Mint repo..."
echo "deb http://packages.linuxmint.com debian import" > /etc/apt/sources.list.d/linuxmint.list
echo ""
echo "Getting Linux Mint key..."
gpg --keyserver pgp.mit.edu --recv-keys 3EE67F3D0FF405B2
echo ""
echo "Adding key..."
gpg --export 3EE67F3D0FF405B2 | apt-key add -
echo ""
echo "Installing Firefox..."
apt-get install firefox
echo ""
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment