mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-08 00:09:29 -05:00
install: several fixes
Fix gtk + links
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user