aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/links-update
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-21 20:40:16 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-21 20:40:16 +0200
commitddd150b7d16d289ed0d0ca8dbbcaa335761ad4f2 (patch)
tree7de243930d1359dca8efc32d317441f677f212ac /links-update
parentdebian: 2.0.3-5 (diff)
parentmove comments from links-update to README (diff)
downloadconfig-links-ddd150b7d16d289ed0d0ca8dbbcaa335761ad4f2.tar.gz
config-links-ddd150b7d16d289ed0d0ca8dbbcaa335761ad4f2.zip
Merge tag 'v2.0.4' into debian
Diffstat (limited to 'links-update')
-rwxr-xr-xlinks-update14
1 files changed, 1 insertions, 13 deletions
diff --git a/links-update b/links-update
index 322cd49..c95530d 100755
--- a/links-update
+++ b/links-update
@@ -5,18 +5,6 @@
# For details, see https://github.com/egor-tensin/config-links.
# Distributed under the MIT License.
-# This script relies on the availability of native symlinks.
-# Those are indeed supported by NTFS, but require Administrator privileges for
-# creation.
-# It likely won't bother you as long as you don't use the functions defined in
-# this file.
-# In any case, you will see `ln` complaining about some access being denied in
-# case something goes wrong.
-#
-# Remember that in order to force `ln` to use native NTFS symlinks, your
-# `CYGWIN` Windows environment variable value **must** include either
-# `winsymlinks:native` or `winsymlinks:nativestrict`!
-
# usage: ./links-update [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-m|--mode MODE] [-n|--dry-run]
set -o errexit -o nounset -o pipefail
@@ -25,7 +13,7 @@ shopt -s lastpipe
script_name="$( basename -- "${BASH_SOURCE[0]}" )"
readonly script_name
-script_path="$( realpath --canonicalize-existing -- "${BASH_SOURCE[0]}" )"
+script_path="$( readlink --canonicalize-existing -- "${BASH_SOURCE[0]}" )"
readonly script_path
script_dir="$( dirname -- "$script_path" )"
readonly script_dir