justfile: Use relative links for DESTDIR style installs

This resolves an issue with Serpent OS when the installed plugin
links point back to `/mason/install/usr/bin/pop-launcher`

Signed-off-by: Ikey Doherty <ikey@serpentos.com>
This commit is contained in:
Ikey Doherty 2024-08-07 08:58:09 +00:00 committed by Michael Murphy
parent c994240676
commit 6a1b8b9ad0

View file

@ -70,7 +70,7 @@ install-plugins:
dest={{plugin-dir}}${plugin}
mkdir -p ${dest}
install -Dm0644 plugins/src/${plugin}/*.ron ${dest}
ln -sf {{bin-path}} {{plugin-dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/')
ln -srf {{bin-path}} {{plugin-dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/')
done
# Install pop-launcher scripts