mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
fix: remove sudo from RPM spec
This commit is contained in:
parent
8a0c004ed8
commit
ee7bfd5089
@ -16,7 +16,7 @@ usage(){
|
|||||||
get_scriptlet(){
|
get_scriptlet(){
|
||||||
scriptlet="$1"
|
scriptlet="$1"
|
||||||
sed -n "/^<\!-- pkg:begin:${scriptlet} -->$/,/^<\!-- pkg:end:${scriptlet} -->$/p" "${readme}" \
|
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(){
|
get_spec(){
|
||||||
|
Loading…
Reference in New Issue
Block a user