跟进翻译
This commit is contained in:
12
shell/kernel-installer-upgrade-template.sh
Normal file
12
shell/kernel-installer-upgrade-template.sh
Normal 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}"
|
||||
Reference in New Issue
Block a user