Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Documents, Pictures, Music etc are symlinks in (#220)
* Fix Documents, Pictures, Music etc are symlinks in When a user has one or several `XDG_SPECIAL_DIRS` folders symlinked in their real home folder to elsewhere in their real home folder `common/desktop-exports` will attempt to mv those folders to themselves. * guard `mv` calls with test for `is_subpath` to ensure that we're only moving symlinks we created. Signed-off-by: Daniel Llewellyn <diddledan@ubuntu.com> * Redirect STDERR from readlink call in common/desktop-exports If readlink fails, it will output on stderr. * Throw away stderr Signed-off-by: Daniel Llewellyn <diddledan@ubuntu.com>
- Loading branch information