Skip to content

Commit

Permalink
sysutils/py-salt: Fix python path in the pam module code
Browse files Browse the repository at this point in the history
PR:		274975
Approved by:	krion (maintainer timeout)
  • Loading branch information
xzenor authored and arrowd committed Mar 30, 2024
1 parent daa1ec1 commit a75ba7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sysutils/py-salt/Makefile
@@ -1,6 +1,6 @@
PORTNAME= salt
PORTVERSION= 3006.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand Down Expand Up @@ -103,6 +103,7 @@ post-patch:
-e 's|/srv/pillar|${ETCDIR}/pillar|' ${WRKSRC}/${file}
.endfor
@${REINPLACE_CMD} -e 's|yumpkg5|pkgng|' ${WRKSRC}/conf/minion
@${REINPLACE_CMD} -e 's|"/usr/bin/python3"|"${PYTHON_CMD}"|' ${WRKSRC}/salt/auth/pam.py

do-install-BASH-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/
Expand Down

0 comments on commit a75ba7b

Please sign in to comment.