Update main.sh

This commit is contained in:
ferreo 2024-08-04 17:15:39 +02:00
parent 5517c371ff
commit 213b13a50e

View File

@ -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