diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-24 14:30:56 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-24 14:30:56 +1100 |
| commit | 06ace6a6ac43682d8cbd4f8ad2ae56f4237b3f95 (patch) | |
| tree | 0f7ec2b0e33cd451e2e8431a29b164486671f088 /install/util.fish | |
| parent | install: gtk set theme (diff) | |
| download | caelestia-cli-06ace6a6ac43682d8cbd4f8ad2ae56f4237b3f95.tar.gz caelestia-cli-06ace6a6ac43682d8cbd4f8ad2ae56f4237b3f95.tar.bz2 caelestia-cli-06ace6a6ac43682d8cbd4f8ad2ae56f4237b3f95.zip | |
install: several fixes
Fix gtk + links
Diffstat (limited to 'install/util.fish')
| -rw-r--r-- | install/util.fish | 3 |
1 files changed, 2 insertions, 1 deletions
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 |