#!/usr/bin/env bash # The purpose of this script is to install a Firefox profile from a save location. run_directory=$(dirname $(readlink -f "$0")) source "$run_directory/variables.conf" # Remove current profile rm -r $firefox_data_path/$profile_name # Install profile 7z x $save_path/$file_name -o$firefox_data_path exit 0