-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve installation of core plugins
Core plugins are now backed into the image and only manual installed plugins are installed durring startup.
- Loading branch information
Showing
5 changed files
with
58 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# older installation of redmine exposed the core plugins to the | ||
# plugin volume, these exposed plugin could be old and must be | ||
# removed. | ||
|
||
set -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
|
||
PLUGIN_DIRECTORY="${WORKDIR}/plugins" | ||
CORE_PLUGINS="redmine_activerecord_session_store redmine_cas" | ||
|
||
for CP in ${CORE_PLUGINS}; do | ||
CP_DIR="${PLUGIN_DIRECTORY}/${CP}" | ||
if [ -d "${CP_DIR}" ]; then | ||
echo "remove old installation of ${CP}" | ||
rm -rf "${CP_DIR}" | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters