Fix Documents, Pictures, Music etc are symlinks in #220
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When a user has one or several
XDG_SPECIAL_DIRS
folders symlinked in their real home folder to elsewhere in their real home foldercommon/desktop-exports
will attempt to mv those folders to themselves.mv
calls with test foris_subpath
to ensure that we're only moving symlinks we created.While this is not a fatal error here, the electron-builder copies are using
bash -e
so they fail hard. I will forward these changes to electron-builder once reviewed here... (currently symlinks for Documents etc, combined with the electron-builder default of plugginghome
, cause electron-builder-built snaps to refuse to launch because themv
calls break the execution due tobash -e
.)Signed-off-by: Daniel Llewellyn diddledan@ubuntu.com