From 06ace6a6ac43682d8cbd4f8ad2ae56f4237b3f95 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 24 Feb 2025 14:30:56 +1100 Subject: install: several fixes Fix gtk + links --- install/util.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'install/util.fish') diff --git a/install/util.fish b/install/util.fish index d9a02f5..ad5a95a 100644 --- a/install/util.fish +++ b/install/util.fish @@ -110,7 +110,8 @@ WantedBy=default.target" > $systemd/$module-monitor-scheme.path end function install-link -a from to - if ! test -L $to -a (realpath $to) = (realpath $from) + if ! test -L $to -a "$(realpath $to 2> /dev/null)" = $from + mkdir -p (dirname $to) confirm-overwrite $to ln -s $from $to end -- cgit v1.2.3-freya