X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/94bd1027960c5c0f034e0a0929129d937eba51b1..d76b6138e72d2af01c789a3aaf4b3715d23d440f:/projects/stargazer/Makefile?ds=inline diff --git a/projects/stargazer/Makefile b/projects/stargazer/Makefile index 8d7318f5..86783e1b 100644 --- a/projects/stargazer/Makefile +++ b/projects/stargazer/Makefile @@ -111,19 +111,6 @@ endif install -m $(DATA_MODE) -o $(OWNER) $(VAR_DIR)/tariffs/tariff.tf $(PREFIX)/var/stargazer/tariffs/tariff.tf install -m $(DATA_MODE) -o $(OWNER) $(VAR_DIR)/users/test/conf $(PREFIX)/var/stargazer/users/test/conf install -m $(DATA_MODE) -o $(OWNER) $(VAR_DIR)/users/test/stat $(PREFIX)/var/stargazer/users/test/stat - -ifeq ($(CHECK_FBCLIENT),yes) - # Install firebird db - mkdir -p $(PREFIX)/var/stargazer - chown $(OWNER):$(FIREBIRD_GROUP) $(PREFIX)/var/stargazer - chmod g+rw $(PREFIX)/var/stargazer - echo "connect '$(DB_ADDRESS)' user '$(DB_USER)' password '$(DB_PASSWORD)';" > .db.sql - echo "drop database;" >> .db.sql - echo "create database '$(DB_ADDRESS)' user '$(DB_USER)' password '$(DB_PASSWORD)' default character set win1251;" >> .db.sql - cat $(VAR_DIR)/../00-base-00.sql >> .db.sql - $(FIREBIRD_ISQL) -i .db.sql - rm -f .db.sql -endif uninstall: uninstall-bin uninstall-data