forked from juraj-hrivnak/Underdog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sync_overrides.sh
64 lines (57 loc) · 1019 Bytes
/
sync_overrides.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
echo Started to syncing files!
# config
cd modpack/overrides
if [ -d "config" ]; then
rm -rf config
fi
cd ../../..
cp -r config pax/modpack/overrides
cd pax
# local
cd modpack/overrides
if [ -d "local" ]; then
rm -rf local
fi
cd ../../..
cp -r local pax/modpack/overrides
cd pax
# oresources
cd modpack/overrides
if [ -d "oresources" ]; then
rm -rf oresources
fi
cd ../../..
cp -r oresources pax/modpack/overrides
cd pax
# patchouli_books
cd modpack/overrides
if [ -d "patchouli_books" ]; then
rm -rf patchouli_books
fi
cd ../../..
cp -r patchouli_books pax/modpack/overrides
cd pax
# resources
cd modpack/overrides
if [ -d "resources" ]; then
rm -rf resources
fi
cd ../../..
cp -r resources pax/modpack/overrides
cd pax
# scripts
cd modpack/overrides
if [ -d "scripts" ]; then
rm -rf scripts
fi
cd ../../..
cp -r scripts pax/modpack/overrides
cd pax
# structures
cd modpack/overrides
if [ -d "scripts" ]; then
rm -rf scripts
fi
cd ../../..
cp -r scripts pax/modpack/overrides
cd pax