From 3a6c359e51ae459143199638e5fedaadd0a6c5d5 Mon Sep 17 00:00:00 2001 From: ferreo Date: Sun, 4 Aug 2024 17:53:15 +0200 Subject: [PATCH] Update main.sh --- main.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/main.sh b/main.sh index bcddd8f..1380728 100755 --- a/main.sh +++ b/main.sh @@ -14,6 +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="/root/.cargo/bin:$PATH"' ./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