From 213b13a50ed6ece84a90ccac582f36e661e1b15c Mon Sep 17 00:00:00 2001 From: ferreo Date: Sun, 4 Aug 2024 17:15:39 +0200 Subject: [PATCH] Update main.sh --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index b80603f..1b2a709 100755 --- a/main.sh +++ b/main.sh @@ -16,7 +16,7 @@ cd cosmic-settings apt-get build-dep ./ -y apt-get install curl -y curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y - +awk '{gsub(/(,[ \t]*)?cargo(,[ \t]*)?|,[ \t]*cargo|cargo(,[ \t]*)?/, ""); gsub(/(,[ \t]*)?rustc(,[ \t]*)?|,[ \t]*rustc|rustc(,[ \t]*)?/, ""); print}' ./debian/control > ./debian/control.tmp && mv ./debian/control.tmp ./debian/control LOGNAME=root dh_make --createorig -y -l -p cosmic-settings_"$VERSION" || echo "dh-make: Ignoring Last Error" # Build package