Set scripts to new run_directory norm
This commit is contained in:
parent
9db48d0991
commit
7dddfcfd78
@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# The purpose of this script is to install a Firefox profile from a save location.
|
||||
|
||||
source "$(dirname "$0")/variables.conf"
|
||||
run_directory=$(dirname $(readlink -f "$0"))
|
||||
source "$run_directory/variables.conf"
|
||||
|
||||
# Remove current profile
|
||||
rm -r $firefox_data_path/$profile_name
|
||||
|
@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# The purpose of this script is to zip a Firefox profile and stash it to a save location.
|
||||
|
||||
source "$(dirname "$0")/variables.conf"
|
||||
run_directory=$(dirname $(readlink -f "$0"))
|
||||
source "$run_directory/variables.conf"
|
||||
|
||||
# Remove old archive
|
||||
rm $save_path/$file_name
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
run_directory=$(dirname "$0")
|
||||
run_directory=$(dirname $(readlink -f "$0"))
|
||||
user=$(whoami)
|
||||
|
||||
if [ -f $run_directory/.disabled ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user