2022-03-14 19:45:28 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# The purpose of this script is to install a Firefox profile from a save location.
|
|
|
|
|
2022-09-22 18:53:08 +02:00
|
|
|
run_directory=$(dirname $(readlink -f "$0"))
|
|
|
|
source "$run_directory/variables.conf"
|
2022-03-14 19:45:28 +01:00
|
|
|
|
|
|
|
# Remove current profile
|
|
|
|
rm -r $firefox_data_path/$profile_name
|
|
|
|
|
|
|
|
# Install profile
|
2022-03-14 20:06:37 +01:00
|
|
|
7z x $save_path/$file_name -o$firefox_data_path
|
2022-03-14 19:45:28 +01:00
|
|
|
|
|
|
|
exit 0
|