Skip to content

Commit

Permalink
fix: remove sudo from RPM spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Mar 14, 2024
1 parent d5fc611 commit d93cc6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/spec-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ usage(){
get_scriptlet(){
scriptlet="$1"
sed -n "/^<\!-- pkg:begin:${scriptlet} -->$/,/^<\!-- pkg:end:${scriptlet} -->$/p" "${readme}" \
| grep -v -e '^```\S*$' -e "^<\!-- " || echo "true"
| grep -v -e '^```\S*$' -e "^<\!-- " | sed "s/^sudo //" || echo "true"
}

get_spec(){
Expand Down

0 comments on commit d93cc6f

Please sign in to comment.