From bdc55dd082c7382ccd08d758b8e752fc71ada6d4 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 30 Oct 2025 12:52:16 +0800 Subject: [PATCH] Update checkdeps --- sdata/subcmd-checkdeps/0.run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdata/subcmd-checkdeps/0.run.sh b/sdata/subcmd-checkdeps/0.run.sh index 0316b11b5..11ff87eb8 100644 --- a/sdata/subcmd-checkdeps/0.run.sh +++ b/sdata/subcmd-checkdeps/0.run.sh @@ -6,13 +6,13 @@ pkglistfile=$(mktemp) pkglistfile_orig=${LIST_FILE_PATH} pkglistfile_orig_s=${REPO_ROOT}/cache/dependencies_stripped.conf -if ! $(command -v curl);then +if ! "$(command -v curl)";then echo "Please install curl first.";exit 1 fi -if ! $(command -v gzip);then +if ! "$(command -v gzip)";then echo "Please install gzip first.";exit 1 fi -if ! $(command -v pacman);then +if ! "$(command -v pacman)";then echo "pacman not found, aborting...";exit 1 fi remove_bashcomments_emptylines $pkglistfile_orig $pkglistfile_orig_s