Skip to content

Commit

Permalink
Drop preserving file attributes when backing up saves
Browse files Browse the repository at this point in the history
  • Loading branch information
wolveix authored Jan 29, 2023
1 parent 58586ce commit 7ac21b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ if [ -f "/config/ServerSettings.${SERVERQUERYPORT}" ]; then
fi
# temporary migration to new format

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

0 comments on commit 7ac21b7

Please sign in to comment.