Skip to content
Snippets Groups Projects

Linux - Replace legacy desktop integration with modern XDG-based integration

Closed JennaHuntsman requested to merge JennaHuntsman/xdg-integration:main into main
Compare and Show latest version
2 files
+ 12
7
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -55,10 +55,13 @@ function homedir_install()
prompt "Proceed with the installation? [Y/N]: "
if [[ $? == 0 ]]; then
exit 0
exit 0
fi
if [[ -z "$XDG_DATA_HOME" ]]
install_to_prefix "$XDG_DATA_HOME/alchemy-install" #$XDG_DATA_HOME is a synonym for $HOME/.local/share/ unless the user has specified otherwise (unlikely).
else
install_to_prefix "$HOME/.local/share/alchemy-install" #XDG_DATA_HOME not set, so use default path as defined by XDG spec.
fi
install_to_prefix "$XDG_DATA_HOME/alchemy-install" #$XDG_DATA_HOME is a synonym for $HOME/.local/share/ unless the user has specified otherwise (unlikely).
}
function root_install()
Loading