paperwm / gnome-shell-mode

Package for developing gnome-shell extensions
GNU General Public License v2.0
27 stars 7 forks source link

fix recursive link creation by derefencing extension symlink (since i… #30

Closed goodwillcoding closed 5 years ago

goodwillcoding commented 5 years ago

…t's a directory)

Without the -n flag to ln if a symlink to directory already exists another one is created inside of existing symlinked directory. Which means the symlink is never updates and it polutes the symlinked repository to itself

$ tree /home/user/.cache/paperwm@hedning:matrix.org/local/gnome-shell/extensions/
/home/user/.cache/paperwm@hedning:matrix.org/local/gnome-shell/extensions/
└── paperwm@hedning:matrix.org -> /home/user/paperwm

$ tree /home/user/.cache/paperwm@hedning:matrix.org/local/gnome-shell/extensions/paperwm@hedning:matrix.org
/home/user/.cache/paperwm@hedning:matrix.org/local/gnome-shell/extensions/paperwm@hedning:matrix.org
├── <various files and folders>
├── mr.sequential-workspaces -> /home/user/paperwm
└── <various files and folders>
hedning commented 5 years ago

Cheers, managed to miss this PR for some reason.