diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-06 18:12:33 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-06 18:17:34 +0200 |
| commit | 40b7b047a3fbf6451228de7f69c8ad5f156f7d1c (patch) | |
| tree | 365df06d7b7cb6122d8a30695aa45a12c4f58302 /bin | |
| parent | workflows/ci: remove on: pull_request (diff) | |
| download | config-links-2.1.0.tar.gz config-links-2.1.0.zip | |
reorganize filesv2.1.0
Diffstat (limited to '')
| -rwxr-xr-x | bin/links-chmod (renamed from links-chmod) | 14 | ||||
| -rwxr-xr-x | bin/links-remove (renamed from links-remove) | 14 | ||||
| -rwxr-xr-x | bin/links-update (renamed from links-update) | 14 |
3 files changed, 21 insertions, 21 deletions
diff --git a/links-chmod b/bin/links-chmod index 167cb8e..931a5b5 100755 --- a/links-chmod +++ b/bin/links-chmod @@ -17,14 +17,14 @@ script_path="$( readlink --canonicalize-existing -- "${BASH_SOURCE[0]}" )" readonly script_path script_dir="$( dirname -- "$script_path" )" readonly script_dir -src_dir="$( cd -- "$script_dir/src" && pwd )" -readonly src_dir +lib_dir="$( cd -- "$script_dir/../lib" && pwd )" +readonly lib_dir -. "$src_dir/common.sh" -. "$src_dir/os.sh" -. "$src_dir/path.sh" -. "$src_dir/vars.sh" -. "$src_dir/db.sh" +. "$lib_dir/common.sh" +. "$lib_dir/os.sh" +. "$lib_dir/path.sh" +. "$lib_dir/vars.sh" +. "$lib_dir/db.sh" script_usage() { local msg diff --git a/links-remove b/bin/links-remove index 2941509..a149e52 100755 --- a/links-remove +++ b/bin/links-remove @@ -17,14 +17,14 @@ script_path="$( readlink --canonicalize-existing -- "${BASH_SOURCE[0]}" )" readonly script_path script_dir="$( dirname -- "$script_path" )" readonly script_dir -src_dir="$( cd -- "$script_dir/src" && pwd )" -readonly src_dir +lib_dir="$( cd -- "$script_dir/../lib" && pwd )" +readonly lib_dir -. "$src_dir/common.sh" -. "$src_dir/os.sh" -. "$src_dir/path.sh" -. "$src_dir/vars.sh" -. "$src_dir/db.sh" +. "$lib_dir/common.sh" +. "$lib_dir/os.sh" +. "$lib_dir/path.sh" +. "$lib_dir/vars.sh" +. "$lib_dir/db.sh" script_usage() { local msg diff --git a/links-update b/bin/links-update index 68910a2..dac40ff 100755 --- a/links-update +++ b/bin/links-update @@ -17,14 +17,14 @@ script_path="$( readlink --canonicalize-existing -- "${BASH_SOURCE[0]}" )" readonly script_path script_dir="$( dirname -- "$script_path" )" readonly script_dir -src_dir="$( cd -- "$script_dir/src" && pwd )" -readonly src_dir +lib_dir="$( cd -- "$script_dir/../lib" && pwd )" +readonly lib_dir -. "$src_dir/common.sh" -. "$src_dir/os.sh" -. "$src_dir/path.sh" -. "$src_dir/vars.sh" -. "$src_dir/db.sh" +. "$lib_dir/common.sh" +. "$lib_dir/os.sh" +. "$lib_dir/path.sh" +. "$lib_dir/vars.sh" +. "$lib_dir/db.sh" script_usage() { local msg |
