# Refactoring plugin installation

**URL:** <https://meta.discourse.org/t/refactoring-plugin-installation/78848>\
**Category:** Development\
**Created:** [January 24, 2018, 9:21am UTC](https://meta.discourse.org/t/refactoring-plugin-installation/78848 "2018-01-24T09:21:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [January 24, 2018, 9:39am UTC](https://meta.discourse.org/t/refactoring-plugin-installation/78848/2 "2018-01-24T09:39:22Z")

</div>

I think I am fine for changing it so it only does the `ln` if for some reason the symlink does not already exist.

Also open to committing `/public/plugins/.gitignore` into the repo so the folder is always there and then we can get rid of the mkdir.

This is a very very fiddly change though I am not super comfortable accepting a first time PR for it.

---

_[View the full topic](https://meta.discourse.org/t/refactoring-plugin-installation/78848)._
