Skip to content

Commit 1e59ed3

Browse files
authored
Revert "error make initdb if xz isn't installed (#5872)" (#5975)
This reverts commit 35ef1d1.
1 parent 5f8869a commit 1e59ed3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ ifneq ($(PR), false)
149149
endif
150150

151151
initdb:
152-
ifeq (, $(shell which xz))
153-
$(error "No xz available on PATH, install xz-utils!")
154-
endif
155152
docker-compose run --rm web psql -h db -d postgres -U postgres -c "DROP DATABASE IF EXISTS warehouse"
156153
docker-compose run --rm web psql -h db -d postgres -U postgres -c "CREATE DATABASE warehouse ENCODING 'UTF8'"
157154
xz -d -f -k dev/$(DB).sql.xz --stdout | docker-compose run --rm web psql -h db -d warehouse -U postgres -v ON_ERROR_STOP=1 -1 -f -

0 commit comments

Comments
 (0)