Commit f3bec94 1 parent ac7bf43 commit f3bec94 Copy full SHA for f3bec94
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -203,11 +203,6 @@ if [[ ${INIT_MEMORY} || ${MAX_MEMORY} ]]; then
203
203
fi
204
204
205
205
function copyFilesForCurseForge() {
206
- # copy player modification files unconditionally since their
207
- # processing into json is additive anyway
208
- [ -f /data/ops.txt ] && cp -f /data/ops.txt " ${FTB_DIR} /"
209
- [ -f /data/white-list.txt ] && cp -f /data/white-list.txt " ${FTB_DIR} /"
210
-
211
206
if [ ! -e " ${FTB_DIR} /server-icon.png" ] && [ -e /data/server-icon.png ]; then
212
207
cp -f /data/server-icon.png " ${FTB_DIR} /"
213
208
fi
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ elif [[ -v OVERRIDE_WHITELIST ]] && isTrue "${OVERRIDE_WHITELIST}"; then
22
22
fi
23
23
24
24
sharedArgs=(--version=" $VERSION " )
25
+ if [[ ${FTB_DIR:- } ]]; then
26
+ sharedArgs+=(--output-directory=" $FTB_DIR " )
27
+ else
28
+ sharedArgs+=(--output-directory=/data)
29
+ fi
25
30
26
31
if [[ -v OPS_FILE ]]; then
27
32
existing=" $EXISTING_OPS_FILE "
You can’t perform that action at this time.
0 commit comments