use shorter .
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
source $HOME/.bin/restic_common
|
||||
. $HOME/.bin/restic_common
|
||||
export RESTIC_PASSWORD="${RESTIC_PASSWORD}"
|
||||
|
||||
restic -r $RESTIC_REPOSITORY unlock
|
||||
|
||||
@@ -21,7 +21,7 @@ read_config() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source ./env 2> /dev/null || source $HOME/.config/restic/env 2> /dev/null || source /etc/restic/env 2> /dev/null
|
||||
. $HOME/.config/restic/env 2> /dev/null || . /etc/restic/env 2> /dev/null
|
||||
}
|
||||
|
||||
info() { printf "\n\e[1m%s\e[0m\n" "$*" >&2; }
|
||||
|
||||
Reference in New Issue
Block a user