From a2e2ecff05008f1f20e85010e1c79ff5ec64c4a6 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 24 Feb 2024 15:28:06 +0100 Subject: fix(treewide): Add shell library import directive --- sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh | 6 +++++- sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'sys/nixpkgs/pkgs') diff --git a/sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh b/sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh index 7c3fb2a3..aa79a2ac 100755 --- a/sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh +++ b/sys/nixpkgs/pkgs/scripts/source/specific/neorg/neorg_id_function.sh @@ -1,4 +1,8 @@ -#! /bin/sh +#! /usr/bin/env dash + +# shellcheck source=/dev/null +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH + context="$(task _get rc.context)" if [ "$context" ]; then filter="project:$context" diff --git a/sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh b/sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh index 47230667..ccfb8aad 100755 --- a/sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh +++ b/sys/nixpkgs/pkgs/snap-sync-forked/snap-sync-forked.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# shellcheck source=/dev/null +SHELL_LIBRARY_VERSION="2.1.1" . %SHELL_LIBRARY_PATH + +# # snap-sync # https://github.com/wesbarnett/snap-sync # Copyright (C) 2016-2021 Wes Barnett -- cgit 1.4.1