Skip to content

Commit

Permalink
The apt get update taskes no arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed May 10, 2024
1 parent 60b7b4c commit 5900b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PRIV_EXE=""
fi

if command -v apt-get &>/dev/null; then
$PRIV_EXE apt-get update "${YES}"
$PRIV_EXE apt-get update
$PRIV_EXE apt-get install "${YES}" "linux-headers-$(uname -r)" || $PRIV_EXE apt-get install "${YES}" linux-headers-generic
$PRIV_EXE apt-get install "${YES}" man pkg-config openssl libssl-dev curl gcc llvm clang libcap2 libcap2-bin libcap-dev libcap-ng-dev libelf-dev libpam0g-dev libxml2 libxml2-dev libclang-dev make
if [ -n "${DEBUG}" ]; then
Expand Down

0 comments on commit 5900b57

Please sign in to comment.