From 3251615181f8784bc83583037f256c4601fb9025 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Mon, 14 Mar 2022 20:06:37 +0100 Subject: [PATCH] Rename variable local_path to save_path --- firefox-load.sh | 2 +- firefox-save.sh | 4 ++-- variables.conf.template | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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'