Skip to content

Commit 57bd8c5

Browse files
authored
Merge pull request #8 from Keralin/fix/curl-pipe-stdin-conflict
fix: prevent install.sh from hanging when run via curl | bash
2 parents f24ab96 + 1e352fc commit 57bd8c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ for cat in m.get('categories', {}).values():
9393
seen.add(f)
9494
print(f)
9595
" | while read -r sfile; do
96-
curl -fsSL "$REPO_BASE/packs/$pack/sounds/$sfile" -o "$INSTALL_DIR/packs/$pack/sounds/$sfile"
96+
curl -fsSL "$REPO_BASE/packs/$pack/sounds/$sfile" -o "$INSTALL_DIR/packs/$pack/sounds/$sfile" </dev/null
9797
done
9898
done
9999
if [ "$UPDATING" = false ]; then

0 commit comments

Comments
 (0)