修复在没有安装aptss时安装内核会提示错误1
This commit is contained in:
parent
86f7263b91
commit
86759a1bc5
@ -2,8 +2,7 @@
|
||||
set -e
|
||||
rm /tmp/gxde-kernel-manager-installer-status -f
|
||||
aptPath="apt"
|
||||
which aptss > /dev/null
|
||||
if [[ $? == 0 ]]; then
|
||||
if [[ -f "/usr/bin/aptss" ]]; then
|
||||
# 如果 aptss 存在,则使用 aptss
|
||||
aptPath="aptss"
|
||||
fi
|
||||
|
@ -2,8 +2,7 @@
|
||||
set -e
|
||||
rm /tmp/gxde-kernel-manager-installer-status -f
|
||||
aptPath="apt"
|
||||
which aptss > /dev/null
|
||||
if [[ $? == 0 ]]; then
|
||||
if [[ -f "/usr/bin/aptss" ]]; then
|
||||
# 如果 aptss 存在,则使用 aptss
|
||||
aptPath="aptss"
|
||||
fi
|
||||
|
@ -2,8 +2,7 @@
|
||||
set -e
|
||||
rm /tmp/gxde-kernel-manager-installer-status -f
|
||||
aptPath="apt"
|
||||
which aptss > /dev/null
|
||||
if [[ $? == 0 ]]; then
|
||||
if [[ -f "/usr/bin/aptss" ]]; then
|
||||
# 如果 aptss 存在,则使用 aptss
|
||||
aptPath="aptss"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user