Rename variable local_path to save_path

This commit is contained in:
Alexandre CATTEAU 2022-03-14 20:06:37 +01:00
parent 013dabbac5
commit 3251615181
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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'