Set scripts to new run_directory norm
This commit is contained in:
parent
d485e21ce3
commit
9f2d4b6687
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source "$(dirname "$0")/variables.conf"
|
||||
run_directory=$(dirname $(readlink -f "$0"))
|
||||
source "$run_directory/variables.conf"
|
||||
|
||||
# Remove old archive
|
||||
old="$backups_directory/profile-$(date -d "-10 days" +'%Y%m%d').tgz"
|
||||
|
@ -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