diff --git a/main.sh b/main.sh index f07e7e3..b80603f 100755 --- a/main.sh +++ b/main.sh @@ -13,8 +13,11 @@ git clone https://github.com/pop-os/cosmic-settings.git cd cosmic-settings # Get build deps -LOGNAME=root dh_make --createorig -y -l -p cosmic-settings_"$VERSION" || echo "dh-make: Ignoring Last Error" 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 + +LOGNAME=root dh_make --createorig -y -l -p cosmic-settings_"$VERSION" || echo "dh-make: Ignoring Last Error" # Build package dpkg-buildpackage --no-sign