mirror of
https://github.com/hotyue/IP-Sentinel.git
synced 2026-09-07 00:17:27 +08:00
Fix pacman command to use '-S' instead of '-Sy'
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ if [ ${#MISSING_CMDS[@]} -gt 0 ]; then
|
|||||||
|
|
||||||
elif command -v pacman >/dev/null 2>&1; then
|
elif command -v pacman >/dev/null 2>&1; then
|
||||||
# Arch Linux 系列
|
# Arch Linux 系列
|
||||||
pacman -Sy --needed --noconfirm curl jq cronie procps-ng python openssl >/dev/null 2>&1
|
pacman -S --needed --noconfirm curl jq cronie procps-ng python openssl >/dev/null 2>&1
|
||||||
mkdir -p /root/.cache/crontab 2>/dev/null
|
mkdir -p /root/.cache/crontab 2>/dev/null
|
||||||
systemctl enable cronie >/dev/null 2>&1 && systemctl start cronie >/dev/null 2>&1
|
systemctl enable cronie >/dev/null 2>&1 && systemctl start cronie >/dev/null 2>&1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user