Skip to content

Commit 7ac21b7

Browse files
authored
Drop preserving file attributes when backing up saves
1 parent 58586ce commit 7ac21b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ if [ -f "/config/ServerSettings.${SERVERQUERYPORT}" ]; then
126126
fi
127127
# temporary migration to new format
128128

129-
cp -a "/config/saved/server/." "/config/backups/"
130-
cp -a "${GAMESAVESDIR}/server/." "/config/backups" # useful after the first run
129+
cp -r "/config/saved/server/." "/config/backups/"
130+
cp -r "${GAMESAVESDIR}/server/." "/config/backups" # useful after the first run
131131
rm -rf "$GAMESAVESDIR"
132132
ln -sf "/config/saved" "$GAMESAVESDIR"
133133
cp /home/steam/*.ini "${GAMECONFIGDIR}/Config/LinuxServer/"

0 commit comments

Comments
 (0)