Ei kuvausta

Mike 38f155a512 Improved .gitignore. 1 kuukausi sitten
apps 38f155a512 Improved .gitignore. 1 kuukausi sitten
assets eeab04a91d Initial commit after rewrite to standard format. 1 kuukausi sitten
.gitignore 38f155a512 Improved .gitignore. 1 kuukausi sitten
README.MD 7602ff1e2a Added README.MD 1 kuukausi sitten
howto.txt 24a69e6b09 Original commit. Pre install script. 1 kuukausi sitten
install.sh ddf4f51a5c Misc changes 1 kuukausi sitten

README.MD

This scrips takes the argument of a Firefox file and installs it in a user-friendly manner.

Specifically, the script:

  • Checks file existance
  • Moves it to a local assets/ folder
  • Moves the existing installation to /opt/firefox.OLD for rollback if requried
  • Unpacks the tar.bz file in /opt/firefox
  • creates a symlink for the executable at /usr/local/bin/firefox
  • checks for the existance of a .desktop file in the assets folder
  • creats a symlink for the .desktop file at /usr/local/share/applications/firefox.desktop
  • updates ownership of /opt/firefox to mike:mike so firefox has write permissions and can check for updates

Usage

sudo ./installer