#!/bin/bash rm -rf mods mkdir mods cd mods git clone --depth 1 --branch master https://github.com/minetest-mods/3d_armor.git git clone --depth 1 --branch master https://github.com/minetest-mods/unified_inventory.git git clone --depth 1 --branch master https://github.com/minetest-mods/unifiedbricks.git git clone --depth 1 --branch master https://github.com/minetest-mods/moreblocks.git git clone --depth 1 --branch master https://github.com/minetest-mods/moreores.git git clone --depth 1 --branch master https://github.com/minetest-mods/mywalls.git git clone --depth 1 --branch master https://github.com/minetest-mods/xdecor.git git clone --depth 1 --branch master https://github.com/minetest-mods/vehicle_mash.git git clone --depth 1 --branch master https://github.com/minetest-mods/lib_mount git clone --depth 1 --branch master https://github.com/minetest-mods/workbench.git git clone --depth 1 --branch master https://github.com/minetest-mods/ts_furniture.git git clone --depth 1 --branch master https://github.com/minetest-mods/playeranim.git git clone --depth 1 --branch master https://github.com/minetest-mods/skinsdb.git git clone --depth 1 --branch master https://github.com/minetest-mods/letters.git git clone --depth 1 --branch master https://github.com/minetest-mods/ts_doors.git git clone --depth 1 --branch master https://github.com/minetest-mods/trash_can.git git clone --depth 1 --branch master https://github.com/minetest-mods/throwing_arrows.git git clone --depth 1 --branch master https://github.com/minetest-mods/throwing.git git clone --depth 1 --branch master https://github.com/minetest-mods/stained_glass.git git clone --depth 1 --branch master https://github.com/minetest-mods/xban2.git git clone --depth 1 --branch master https://github.com/minetest-mods/drinks.git git clone --depth 1 --branch master https://github.com/minetest-mods/jukebox.git git clone --depth 1 --branch master https://github.com/minetest-mods/carpets.git git clone --depth 1 --branch master https://github.com/minetest-mods/chat2.git git clone --depth 1 --branch master https://github.com/minetest-mods/mymillwork.git git clone --depth 1 --branch master https://github.com/minetest-mods/signs_api.git git clone --depth 1 --branch master https://github.com/minetest-mods/crops.git git clone --depth 1 --branch master https://github.com/minetest-mods/mtfoods.git git clone --depth 1 --branch master https://github.com/minetest-mods/mysheetmetal.git git clone --depth 1 --branch master https://github.com/minetest-mods/ts_workshop.git git clone --depth 1 --branch master https://github.com/minetest-mods/myroofs.git git clone --depth 1 --branch master https://github.com/minetest-mods/ts_paper.git git clone --depth 1 --branch master https://github.com/minetest-mods/mydeck.git git clone --depth 1 --branch master https://github.com/minetest-mods/enchanting.git git clone --depth 1 --branch master https://github.com/minetest-mods/interact.git git clone --depth 1 --branch master https://github.com/minetest-mods/stargate.git git clone --depth 1 --branch master https://github.com/minetest-mods/mypaths.git git clone --depth 1 --branch master https://github.com/minetest-mods/mycorners.git git clone --depth 1 --branch master https://github.com/minetest-mods/mymasonhammer.git git clone --depth 1 --branch master https://github.com/minetest-mods/mywoodslopes.git git clone --depth 1 --branch master https://github.com/minetest-mods/display_api.git git clone --depth 1 --branch master https://github.com/minetest-mods/font_api.git git clone --depth 1 --branch master https://github.com/minetest-mods/trees_lib.git git clone --depth 1 --branch master https://github.com/minetest-mods/intllib.git git clone --depth 1 --branch master https://github.com/minetest-mods/more_chests.git git clone --depth 1 --branch master https://github.com/minetest-mods/flowerpot.git git clone --depth 1 --branch master https://github.com/minetest-mods/cloud_items.git git clone --depth 1 --branch master https://github.com/minetest-mods/compost.git git clone --depth 1 --branch master https://github.com/minetest-mods/death_compass.git git clone --depth 1 --branch master https://github.com/minetest-mods/smartfs.git git clone --depth 1 --branch master https://github.com/mt-mods/unifieddyes.git git clone --depth 1 --branch master https://github.com/mt-mods/basic_materials.git git clone --depth 1 --branch master https://github.com/mt-mods/biome_lib.git git clone --depth 1 --branch master https://github.com/mt-mods/moretrees.git git clone --depth 1 --branch master https://github.com/mt-mods/homedecor_modpack.git git clone --depth 1 --branch master https://github.com/mt-mods/signs_lib.git git clone --depth 1 --branch master https://github.com/mt-mods/currency.git git clone --depth 1 --branch master https://github.com/mt-mods/plantlife_modpack.git #I cannot find repository for this mod, so i copy it from mods-old folder, details here: https://forum.minetest.net/viewtopic.php?t=16611 #git clone --depth 1 --branch master https://github.com/mt-mods/new_campfire.git cp -r ../mods-old/new_campfire new_campfire git clone --depth 1 --branch master https://github.com/mt-mods/coloredwood.git git clone --depth 1 --branch master https://github.com/mt-mods/basic_signs.git git clone --depth 1 --branch master https://cheapiesystems.com/git/roads git clone --depth 1 --branch master https://github.com/mt-mods/blox.git git clone --depth 1 --branch master https://github.com/cheapie/plasticbox.git git clone --depth 1 --branch master https://github.com/torusJKL/charcoal.git git clone --depth 1 --branch master https://github.com/Sokomine/windmill.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/farming.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/protector.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/playerplus.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/mobs_npc.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/mobs_redo.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/mobs_water.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/mobs_monster.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/mobs_animal.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/mob_horse.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/bows.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/builtin_item.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/bonemeal.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/stamina.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/wine.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/bees.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/wool.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/regrow.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/ambience.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/bakedclay.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/stairs.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/anvils.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/carts.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/doors.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/pie.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/castle.git git clone --depth 1 --branch master https://notabug.org/TenPlus1/mobs_sky.git git clone --depth 1 --branch master https://github.com/Uberi/Minetest-WorldEdit.git git clone --depth 1 --branch master https://github.com/minetest-mods/realchess.git git clone --depth 1 --branch master https://github.com/Grizzly-Adam/BBQ.git git clone --depth 1 --branch master https://github.com/minetest-mods/mydoors.git git clone --depth 1 --branch master https://github.com/TumeniNodes/angledwalls.git git clone --depth 1 --branch master https://github.com/pyrollo/display_modpack.git git clone --depth 1 --branch master https://github.com/Sokomine/cottages.git git clone --depth 1 --branch master https://github.com/joe7575/techpack.git git clone --depth 1 --branch master https://github.com/random-geek/morelights.git git clone --depth 1 --branch master https://repo.or.cz/minetest_mtg_plus.git git clone --depth 1 --branch master https://github.com/minetest-mods/spectator_mode.git git clone --depth 1 --branch master https://github.com/Extex101/christmas.git git clone --depth 1 --branch master https://github.com/mt-mods/gloopblocks.git git clone --depth 1 --branch master https://github.com/minetest-mods/mylandscaping.git git clone --depth 1 --branch master https://github.com/mt-mods/minislots.git git clone --depth 1 --branch master https://github.com/v-rob/bridger.git git clone --depth 1 --branch master https://github.com/AiTechEye/smartshop.git git clone --depth 1 --branch master https://repo.or.cz/minetest_colorcubes.git git clone --depth 1 --branch master https://github.com/DonBatman/myboardgames.git git clone --depth 1 --branch master https://github.com/mt-mods/ilights.git git clone --depth 1 --branch master https://github.com/TumeniNodes/angledstairs.git git clone --depth 1 --branch master https://github.com/TumeniNodes/artdeco.git git clone --depth 1 --branch master https://github.com/TumeniNodes/facade.git git clone --depth 1 --branch master https://github.com/TumeniNodes/stoneworks.git git clone --depth 1 --branch master https://github.com/Delaroyas/simplyslopes.git git clone --depth 1 --branch master https://github.com/joe7575/tubelib2.git git clone --depth 1 --branch master https://github.com/Ezhh/abriflame.git git clone --depth 1 --branch master https://github.com/Ezhh/abriglass.git git clone --depth 1 --branch master https://github.com/brittm3/Minetest-lpanes.git git clone --depth 1 --branch master https://github.com/qwrwed/lightsplus.git git clone --depth 1 --branch master https://github.com/khonkhortisan/rubiks.git git clone --branch master https://git.bananach.space/advtrains.git git clone --depth 1 --branch master https://github.com/Dragonop/claycrafter git clone --depth 1 --branch master https://notabug.org/NetherEran/hot_air_balloons.git git clone --branch master https://cheapiesystems.com/git/prefab_redo git clone --branch master https://cheapiesystems.com/git/mail git clone --branch master https://github.com/mt-mods/home_workshop_modpack.git git clone --branch master https://git.bananach.space/basic_trains.git #Clean git stuff rm -rf $(find . -name .git*) #Make some fixes #1 if [[ $(grep -R "run_at_every_load = false" homedecor_modpack/homedecor_kitchen/init.lua | wc -l) = 1 ]] then echo "Applying fix for unknown kitchen_cabinet blocks: https://git.my-web.xyz/milan/minetest-mm/issues/34" echo "This fix can be removed after some time" sed -i 's/run_at_every_load = false,/run_at_every_load = true,/' homedecor_modpack/homedecor_kitchen/init.lua fi #update skins-db cd skinsdb/updater python3 update_skins.py