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