Update main.sh

This commit is contained in:
ferreo 2024-08-04 17:27:05 +02:00
parent d52cc407bd
commit 756e87513b

View File

@ -16,7 +16,7 @@ cd cosmic-settings
awk ' awk '
BEGIN { ORS="" } BEGIN { ORS="" }
{ {
while (match($0, /(^|[^a-zA-Z0-9_-])(cargo|rustc)([^a-zA-Z0-9_-]|$)/)) { while (match($0, /(^|[^a-zA-Z0-9_-])(cargo|rustc|rust-all)([^a-zA-Z0-9_-]|$)/)) {
printf "%s", substr($0, 1, RSTART - 1) printf "%s", substr($0, 1, RSTART - 1)
$0 = substr($0, RSTART + RLENGTH) $0 = substr($0, RSTART + RLENGTH)
if (match($0, /^[, \t]*/)) if (match($0, /^[, \t]*/))