Skip to content

Commit 8e2670d

Browse files
authored
unreal: Prevent download of geoIP database on first startup (#156)
1 parent 1e01cb3 commit 8e2670d

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/test-devel.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ jobs:
315315
CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick
316316
make -j 4
317317
make install
318+
# Prevent download of geoIP database on first startup
319+
sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf
318320
- name: Make artefact tarball
319321
run: cd ~; tar -czf artefacts-unrealircd.tar.gz .local/ go/
320322
- name: Upload build artefacts
@@ -359,6 +361,8 @@ jobs:
359361
CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick
360362
make -j 4
361363
make install
364+
# Prevent download of geoIP database on first startup
365+
sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf
362366
- name: Make artefact tarball
363367
run: cd ~; tar -czf artefacts-unrealircd-5.tar.gz .local/ go/
364368
- name: Upload build artefacts

.github/workflows/test-stable.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ jobs:
355355
CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick
356356
make -j 4
357357
make install
358+
# Prevent download of geoIP database on first startup
359+
sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf
358360
- name: Make artefact tarball
359361
run: cd ~; tar -czf artefacts-unrealircd.tar.gz .local/ go/
360362
- name: Upload build artefacts
@@ -399,6 +401,8 @@ jobs:
399401
CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick
400402
make -j 4
401403
make install
404+
# Prevent download of geoIP database on first startup
405+
sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf
402406
- name: Make artefact tarball
403407
run: cd ~; tar -czf artefacts-unrealircd-5.tar.gz .local/ go/
404408
- name: Upload build artefacts

workflows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ software:
284284
CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick
285285
make -j 4
286286
make install
287+
# Prevent download of geoIP database on first startup
288+
sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf
287289

288290
unrealircd-5:
289291
name: UnrealIRCd 5

0 commit comments

Comments
 (0)