From 05378f53db814ee1fea4d4a6bbaa1c58ebae0e04 Mon Sep 17 00:00:00 2001 From: Justin Clark Date: Tue, 26 Jan 2016 18:52:31 -0800 Subject: [PATCH] Remove brocken symlinks when using copyfiles --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6b665dceb..715e95e8f 100644 --- a/Makefile +++ b/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