From aefd5bb2510bd3e94d7ce38d7ac67e9089d67cf3 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 26 Mar 2016 19:23:31 -0400 Subject: [PATCH] Delete bad symlinks without confirmation [ci skip] --- debian/postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/postinst b/debian/postinst index 10b8068ad..0b1bd719f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -43,6 +43,7 @@ case "$1" in PLUGIN_PATH=${DOKKU_LIB_ROOT}/plugins plugn enable $plugin fi done + find -L ${DOKKU_LIB_ROOT} -type l -delete chown dokku:dokku -R ${DOKKU_LIB_ROOT}/plugins ${DOKKU_LIB_ROOT}/core-plugins echo "Install all core plugins"