Rename variable local_path to save_path
This commit is contained in:
parent
013dabbac5
commit
3251615181
@ -7,6 +7,6 @@ source "$(dirname "$0")/variables.conf"
|
|||||||
rm -r $firefox_data_path/$profile_name
|
rm -r $firefox_data_path/$profile_name
|
||||||
|
|
||||||
# Install profile
|
# Install profile
|
||||||
7z x $local_path/$file_name -o$firefox_data_path
|
7z x $save_path/$file_name -o$firefox_data_path
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
source "$(dirname "$0")/variables.conf"
|
source "$(dirname "$0")/variables.conf"
|
||||||
|
|
||||||
# Remove old archive
|
# Remove old archive
|
||||||
rm $local_path/$file_name
|
rm $save_path/$file_name
|
||||||
|
|
||||||
# Save profile
|
# 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
|
exit 0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
file_name='profile.zip'
|
file_name='profile.zip'
|
||||||
local_path="" # Set your "repository" here
|
save_path="" # Set your "repository" here
|
||||||
firefox_data_path="$HOME/.mozilla/firefox"
|
firefox_data_path="$HOME/.mozilla/firefox"
|
||||||
profile_name='profile'
|
profile_name='profile'
|
||||||
|
Loading…
Reference in New Issue
Block a user