Disable interactive

This commit is contained in:
Caten
2026-02-07 07:34:33 +08:00
parent 7f7b8700e9
commit d777234531
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ done
echo "正在安装Hangover..."
tar xvf hangover.tar
sudo apt install -y ./hangover*.deb
sudo DEBIAN_FRONTEND=noninteractive apt install -y ./hangover*.deb
if [ $? -ne 0 ]; then
cd /tmp
rm -rf /tmp/hangover