Skip to content

Commit

Permalink
Abort package installation if alternatives fail to install
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalMaruska committed Oct 27, 2021
1 parent 2693f56 commit 39f4b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/alternatives.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ${WRKDIR}/.altinstall: ${ALTERNATIVES_SRC}
${SED} ${FILES_SUBST_SED} <${ALTERNATIVES_SRC}; \
${ECHO} 'EOF'; \
${ECHO} 'if ${TEST} -x ${PKG_ALTERNATIVES}; then'; \
${ECHO} '${PKG_ALTERNATIVES} -gs register ./+ALTERNATIVES'; \
${ECHO} '${PKG_ALTERNATIVES} -gs register ./+ALTERNATIVES || exit 1'; \
${ECHO} 'fi'; \
${ECHO} 'fi'; \
} >${WRKDIR}/.altinstall
Expand Down

0 comments on commit 39f4b1c

Please sign in to comment.