From: Christian Heller Date: Tue, 20 May 2025 02:33:06 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/processes?a=commitdiff_plain;h=5f6baa73af3a219ea68efeb397cf84799c591ed8;p=config Fix. --- diff --git a/bookworm/scripts/lib/trapp b/bookworm/scripts/lib/trapp new file mode 100644 index 0000000..727a51c --- /dev/null +++ b/bookworm/scripts/lib/trapp @@ -0,0 +1,7 @@ +trapp() { + _COMMAND="$@" + if [ -z "${_COMMAND}" ]; then + _COMMAND='-' + fi + trap "${_COMMAND}" EXIT TERM HUP INT +} diff --git a/testing/scripts/lib/trapp b/testing/scripts/lib/trapp deleted file mode 100644 index 727a51c..0000000 --- a/testing/scripts/lib/trapp +++ /dev/null @@ -1,7 +0,0 @@ -trapp() { - _COMMAND="$@" - if [ -z "${_COMMAND}" ]; then - _COMMAND='-' - fi - trap "${_COMMAND}" EXIT TERM HUP INT -} diff --git a/testing/scripts/lib/trapp b/testing/scripts/lib/trapp new file mode 120000 index 0000000..c9180a7 --- /dev/null +++ b/testing/scripts/lib/trapp @@ -0,0 +1 @@ +../../../trixie/scripts/lib/trapp \ No newline at end of file diff --git a/trixie/scripts/lib/trapp b/trixie/scripts/lib/trapp new file mode 120000 index 0000000..5833d35 --- /dev/null +++ b/trixie/scripts/lib/trapp @@ -0,0 +1 @@ +../../../bookworm/scripts/lib/trapp \ No newline at end of file