2
0
Fork 0
main
Ducky 2023-08-15 05:16:14 +01:00
parent 82b10ba696
commit 3cff5dcaf7
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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}"