Skip to content

Commit 17f477d

Browse files
committed
Don't delete map previews
1 parent fcad036 commit 17f477d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git_update_scripts/generic-updater.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ git --git-dir=/factorio/scenarios/"$folder"/.git/ --work-tree=/factorio/scenario
2222
git --git-dir=/factorio/scenarios/"$folder"/.git/ --work-tree=/factorio/scenarios/"$folder"/ reset --hard "$repository/$branch" >/dev/null
2323
git --git-dir=/factorio/scenarios/"$folder"/.git/ --work-tree=/factorio/scenarios/"$folder"/ rev-parse --short HEAD
2424

25-
echo "Deleting map previews and the banner."
26-
rm /factorio/scenarios/"$folder"/map_gen/data/.map_previews -rf
25+
echo "Deleting the banner."
2726
rm /factorio/scenarios/"$folder"/redmew_git_banner.png -f
2827

2928
if [ "$cleanup" = true ]; then

0 commit comments

Comments
 (0)