Skip to content

Commit

Permalink
url: use in-place substitution instead of sed
Browse files Browse the repository at this point in the history
  • Loading branch information
vigress8 authored Dec 19, 2023
1 parent d62b111 commit 4bc06f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lsd-deb/lsd-deb.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ case "${CARCH}" in
hash="4a0e6931823869b401a7ef3dae26e3c027aaee3c42bd62129ee2c6a93489412d"
;;
i386)
url=$(sed -r 's|i386|i686|g' <<< "${url}")
url="${url/i386/i686}"
hash="3a9d7193f90cce0884edb6f1c2230ec5cf942fd122e75691fc32cf3e8f728dcb"
;;
*) return 1 ;;
Expand Down

0 comments on commit 4bc06f0

Please sign in to comment.