diff --git a/firefox-load.sh b/firefox-load.sh index 034f562..73f3488 100755 --- a/firefox-load.sh +++ b/firefox-load.sh @@ -7,6 +7,6 @@ source "$(dirname "$0")/variables.conf" rm -r $firefox_data_path/$profile_name # Install profile -7z x $local_path/$file_name -o$firefox_data_path +7z x $save_path/$file_name -o$firefox_data_path exit 0 diff --git a/firefox-save.sh b/firefox-save.sh index fbbdaab..2182001 100755 --- a/firefox-save.sh +++ b/firefox-save.sh @@ -4,9 +4,9 @@ source "$(dirname "$0")/variables.conf" # Remove old archive -rm $local_path/$file_name +rm $save_path/$file_name # Save profile -7z a $local_path/$file_name $firefox_data_path/$profile_name +7z a $save_path/$file_name $firefox_data_path/$profile_name exit 0 diff --git a/variables.conf.template b/variables.conf.template index c61145c..2d5e8d2 100644 --- a/variables.conf.template +++ b/variables.conf.template @@ -1,6 +1,6 @@ #!/usr/bin/env bash file_name='profile.zip' -local_path="" # Set your "repository" here +save_path="" # Set your "repository" here firefox_data_path="$HOME/.mozilla/firefox" profile_name='profile'