跟进翻译

This commit is contained in:
2024-05-12 12:24:07 +08:00
parent c4ebe15b79
commit a569f6b63c
11 changed files with 165 additions and 54 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -e
rm /tmp/gxde-kernel-manager-installer-status -f
aptPath="apt"
which aptss > /dev/null
if [[ $? == 0 ]]; then
# 如果 aptss 存在,则使用 aptss
aptPath="aptss"
fi
$aptPath update
$aptPath full-upgrade ${KernelList} -y
rm -f "${kernelInstallerShellTempPath}"