update readme and warning

This commit is contained in:
2026-03-29 11:26:02 -05:00
parent e2441ea693
commit 63f674e95a
2 changed files with 30 additions and 4 deletions
+4 -3
View File
@@ -705,9 +705,10 @@ build() {
local ffmpeg="$(command -v ffmpeg 2>/dev/null)"
if [[ ${ffmpeg} != "${ffmpegBin}" ]]; then
echo
echo_warn "ffmpeg in path (${ffmpeg}) is not the built one (${ffmpegBin})"
echo_info "consider adding ${BINDIR} to \$PATH"
echo "echo 'export PATH=\"${BINDIR}:\$PATH\"' >> ~/.bashrc"
echo_warn "ffmpeg in PATH (${ffmpeg}) is not the built one (${ffmpegBin})"
local homeAwareBin="${BINDIR//${HOME}/\$HOME}"
echo_info "consider adding ${homeAwareBin} to \$PATH"
echo "echo 'export PATH=\"${homeAwareBin}:\$PATH\"' >> ~/.bashrc"
fi
package || return 1