Skip to content

Commit a7aeb03

Browse files
committed
Replace mk-build-deps with apt-get build-dep for installing build dependencies
1 parent bd45518 commit a7aeb03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

assets/build

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ build_package() {
232232
}
233233
fi
234234

235-
# Try to install build dependencies using mk-build-deps
236-
echo "Installing build dependencies using mk-build-deps..."
237-
if ! mk-build-deps -t "apt-get --no-install-recommends -y" -ir; then
238-
echo "Failed to install build dependencies using mk-build-deps."
235+
# Try to install build dependencies using apt-get build-dep
236+
echo "Installing build dependencies using apt-get build-dep..."
237+
if ! apt-get build-dep -y .; then
238+
echo "Failed to install build dependencies using apt-get build-dep."
239239
echo "This usually means there are missing packages in the distribution repositories."
240240
echo ""
241241
echo "Checking which packages are missing..."

0 commit comments

Comments
 (0)