Update install_pve7.sh

This commit is contained in:
spiritLHLS 2023-02-15 11:14:35 +08:00 committed by GitHub
parent 454fed16c7
commit 6baeb89797
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,7 @@ if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2 echo "This script must be run as root" 1>&2
exit 1 exit 1
fi fi
apt-get update -y
if ! command -v wget > /dev/null 2>&1; then if ! command -v wget > /dev/null 2>&1; then
apt-get install -y wget apt-get install -y wget
fi fi