install: several fixes

Fix gtk + links
This commit is contained in:
2 * r + 2 * t
2025-02-24 14:30:56 +11:00
parent 781e762ff1
commit 06ace6a6ac
5 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -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