various
parent
82b10ba696
commit
3cff5dcaf7
|
@ -179,6 +179,7 @@ if [[ -z "$1" ]]; then
|
||||||
export -f die
|
export -f die
|
||||||
export -f forget_backup
|
export -f forget_backup
|
||||||
export -f get_config_dir
|
export -f get_config_dir
|
||||||
|
export -f get_real_path
|
||||||
export -f invoke_restic
|
export -f invoke_restic
|
||||||
export -f prune_backup
|
export -f prune_backup
|
||||||
export -f say
|
export -f say
|
||||||
|
|
|
@ -23,6 +23,10 @@ function get_config_dir() {
|
||||||
echo "$config_dir"
|
echo "$config_dir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_real_path() {
|
||||||
|
echo "$(cd -P "$1" && pwd)"
|
||||||
|
}
|
||||||
|
|
||||||
function podman_exec() {
|
function podman_exec() {
|
||||||
container="$1"
|
container="$1"
|
||||||
command="${@:2}"
|
command="${@:2}"
|
||||||
|
|
Loading…
Reference in New Issue