fix: continue deb build when mk-build-deps fails

This commit is contained in:
Kevin Yue committed 2026-05-06 23:20:55 +08:00
1 parent 982562874a
commit a51f034036
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -195,9 +195,9 @@ deb: init-debian
cd .build/deb/$(PKG) && dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
# Install build dependencies
cd .build/deb/$(PKG) && sudo mk-build-deps --install --remove debian/control
cd .build/deb/$(PKG) && sudo mk-build-deps --install --remove debian/control || echo "mk-build-deps failed, continuing"
cd .build/deb/$(PKG) && debuild --preserve-env -e PATH -us -uc -b
cd .build/deb/$(PKG) && debuild --preserve-env -e PATH -us -uc -b -d
check-ppa:
if [ $(OFFLINE) -eq 0 ]; then \
+1 -1
View File
@@ -3,7 +3,7 @@
export BUILD_GUI_HELPER = @BUILD_GUI_HELPER@
export DISABLE_RUST_TOOLCHAIN = 0
export PATH := /usr/lib/rust-@RUST_VERSION@/bin:$(PATH)
export PATH := /usr/lib/rust-@RUST_VERSION@/bin:/usr/local/cargo/bin:$(PATH)
%:
which cargo