Remove plugins before copying them again.

This way plugins can rename/delete files w/o having old files lying around.
This commit is contained in:
Paul Lietar
2013-11-29 14:12:10 +00:00
parent 56de22a3c8
commit 78591a618b
2 changed files with 1 additions and 9 deletions

View File

@@ -15,6 +15,7 @@ install: dependencies stack copyfiles plugins version
copyfiles:
cp dokku /usr/local/bin/dokku
rm -Rf /var/lib/dokku/plugins
mkdir -p /var/lib/dokku/plugins
cp -r plugins/* /var/lib/dokku/plugins

View File

@@ -1,9 +0,0 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$1" in
help)
cat
;;
esac