Update checkdeps

This commit is contained in:
clsty
2025-10-30 12:57:01 +08:00
parent bdc55dd082
commit f50a3fe686
+9 -9
View File
@@ -6,15 +6,15 @@
pkglistfile=$(mktemp)
pkglistfile_orig=${LIST_FILE_PATH}
pkglistfile_orig_s=${REPO_ROOT}/cache/dependencies_stripped.conf
if ! "$(command -v curl)";then
echo "Please install curl first.";exit 1
fi
if ! "$(command -v gzip)";then
echo "Please install gzip first.";exit 1
fi
if ! "$(command -v pacman)";then
echo "pacman not found, aborting...";exit 1
fi
#if ! "$(command -v curl)";then
# echo "Please install curl first.";exit 1
#fi
#if ! "$(command -v gzip)";then
# echo "Please install gzip first.";exit 1
#fi
#if ! "$(command -v pacman)";then
# echo "pacman not found, aborting...";exit 1
#fi
remove_bashcomments_emptylines $pkglistfile_orig $pkglistfile_orig_s
cat $pkglistfile_orig_s | sed "s_\ _\n_g" > $pkglistfile