From 931ba3b83647aa89e6382bf85d00e3285a279aac Mon Sep 17 00:00:00 2001 From: ferreo Date: Sun, 4 Aug 2024 18:02:54 +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 5ce1569..3383b13 100755 --- a/main.sh +++ b/main.sh @@ -14,7 +14,7 @@ cd cosmic-settings # Get build deps sed -i '/^\s*\(cargo\|rustc\|rust-all\)\s*\(([^)]*)\)\?\s*,\?$/d; s/,\s*\(cargo\|rustc\|rust-all\)\s*\(([^)]*)\)\?\s*,\?//g' ./debian/control -sed -i '2iexport PATH := $(shell . /root/.cargo/env && echo $$PATH)\nexport $(shell . /root/.cargo/env && env | grep "^CARGO_\|^RUSTUP_" | sed "s/=/:=/")\n' ./debian/rules +sed -i '2iexport PATH := $(PATH):/root/.cargo/bin\n' ./debian/rules 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