mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
Remove brocken symlinks when using copyfiles
This commit is contained in:
1
Makefile
1
Makefile
@@ -56,6 +56,7 @@ copyfiles:
|
||||
rm -rf ${PLUGINS_PATH}/$$plugin && \
|
||||
cp -R plugins/$$plugin ${CORE_PLUGINS_PATH}/available && \
|
||||
ln -s ${CORE_PLUGINS_PATH}/available/$$plugin ${PLUGINS_PATH}/available; \
|
||||
find /var/lib/dokku/ -xtype l -delete;\
|
||||
PLUGIN_PATH=${CORE_PLUGINS_PATH} plugn enable $$plugin ;\
|
||||
PLUGIN_PATH=${PLUGINS_PATH} plugn enable $$plugin ;\
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user