File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,12 @@ CLASSPATH="${OPAL_HOME}/conf:${OPAL_DIST}/lib/*"
39
39
PLUGINS_DIR=" ${OPAL_HOME} /plugins/"
40
40
[ -e " ${PLUGINS_DIR} /.archive" ] || mkdir -p " ${PLUGINS_DIR} /.archive"
41
41
42
+ # Iterate over deprecated plugins
43
+ find " $PLUGINS_DIR " -type d -name " opal-search-*" | grep -v " .archive" | while IFS= read -r deprecated; do
44
+ # Move the deprecated folder to archive folder
45
+ mv " $deprecated " " ${PLUGINS_DIR} /.archive"
46
+ done
47
+
42
48
# Iterate over plugins zip files
43
49
find " $PLUGINS_DIR " -type f -name " *-dist.zip" | grep -v " .archive" | while IFS= read -r zip_file; do
44
50
# Unzip each zip file
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ CLASSPATH="${OPAL_HOME}/conf:${OPAL_DIST}/lib/*"
5
5
PLUGINS_DIR=" ${OPAL_HOME} /plugins/"
6
6
[ -e " ${PLUGINS_DIR} /.archive" ] || mkdir -p " ${PLUGINS_DIR} /.archive"
7
7
8
+ # Iterate over deprecated plugins
9
+ find " $PLUGINS_DIR " -type d -name " opal-search-*" | grep -v " .archive" | while IFS= read -r deprecated; do
10
+ # Move the deprecated folder to archive folder
11
+ mv " $deprecated " " ${PLUGINS_DIR} /.archive"
12
+ done
13
+
8
14
# Iterate over plugins zip files
9
15
find " $PLUGINS_DIR " -type f -name " *-dist.zip" | grep -v " .archive" | while IFS= read -r zip_file; do
10
16
# Unzip each zip file
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ CLASSPATH="${OPAL_HOME}/conf:${OPAL_DIST}/lib/*"
5
5
PLUGINS_DIR=" ${OPAL_HOME} /plugins/"
6
6
[ -e " ${PLUGINS_DIR} /.archive" ] || mkdir -p " ${PLUGINS_DIR} /.archive"
7
7
8
+ # Iterate over deprecated plugins
9
+ find " $PLUGINS_DIR " -type d -name " opal-search-*" | grep -v " .archive" | while IFS= read -r deprecated; do
10
+ # Move the deprecated folder to archive folder
11
+ mv " $deprecated " " ${PLUGINS_DIR} /.archive"
12
+ done
13
+
8
14
# Iterate over plugins zip files
9
15
find " $PLUGINS_DIR " -type f -name " *-dist.zip" | grep -v " .archive" | while IFS= read -r zip_file; do
10
16
# Unzip each zip file
You can’t perform that action at this time.
0 commit comments