git: f7b9ce135dfa - main - net-p2p/cardano-db-sync: Fix staging

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 24 Apr 2024 10:27:22 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f7b9ce135dfad6869dc42ddd8f15e60c80ac7611

commit f7b9ce135dfad6869dc42ddd8f15e60c80ac7611
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-24 10:26:46 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-24 10:27:18 +0000

    net-p2p/cardano-db-sync: Fix staging
    
    Reported by:    pkg-fallout
    Fixes:  6d2e8d05809b2a7e14d5b67dde0a5750de817392
---
 net-p2p/cardano-db-sync/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/cardano-db-sync/Makefile b/net-p2p/cardano-db-sync/Makefile
index ecda2b2687ea..c7c3a289982c 100644
--- a/net-p2p/cardano-db-sync/Makefile
+++ b/net-p2p/cardano-db-sync/Makefile
@@ -503,7 +503,7 @@ pre-build:
 	${MV} ${LIBS_PREFIX}/lib/pkgconfig/libsodium.pc ${PKGCONFIG_LINKDIR}
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/scripts/cardano-db-sync-pgsql-setup ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/scripts/postgresql-setup.sh ${STAGEDIR}${PREFIX}/bin/cardano-db-sync-pgsql-setup
 	${MKDIR} ${STAGEDIR}${DATADIR}/schema
 	cd ${WRKSRC}/schema && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/schema