Skip to content

Commit bc0fc84

Browse files
author
mo2
committed
command -v apt-get
1 parent 3ede1b0 commit bc0fc84

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

manager.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ check_tmoe_command() {
4949
else
5050
TMOE_TIPS_01="tmoe"
5151
fi
52-
TMOE_TIPS_00="Welcome to tmoe linux manager v1.4343,type ${TMOE_TIPS_01} to start it."
52+
TMOE_TIPS_00="Welcome to tmoe linux manager v1.4344,type ${TMOE_TIPS_01} to start it."
5353
}
5454
#########################
5555
tmoe_manager_env() {

share/container/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mips*)
1919
risc*) ARCH_TYPE="riscv64" ;;
2020
*) printf "${RED}%s${RESET} %s ${RED}%s${RESET}\n" "未知的架构" "$(uname -m)" "unknown architecture" ;;
2121
esac
22-
if [[ $(command -v dpkg) && $(command -v apt) ]]; then
22+
if [[ $(command -v dpkg) && $(command -v apt-get) ]]; then
2323
case $(dpkg --print-architecture) in
2424
aarch64 | arm64*) ARCH_TYPE="arm64" ;;
2525
armv7* | armhf) ARCH_TYPE="armhf" ;;

share/container/proot/check_container_arch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ risc*)
3232
TRUE_ARCH_TYPE="riscv64"
3333
;;
3434
esac
35-
if [[ $(command -v dpkg) && $(command -v apt) ]]; then
35+
if [[ $(command -v dpkg) && $(command -v apt-get) ]]; then
3636
case $(dpkg --print-architecture) in
3737
aarch64 | arm64*) TRUE_ARCH_TYPE="arm64" ;;
3838
armv7* | armhf) TRUE_ARCH_TYPE="armhf" ;;

share/environment/manager_environment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ check_arch() {
2020
risc*) ARCH_TYPE="riscv64" ;;
2121
*) printf "${RED}%s${RESET} %s ${RED}%s${RESET}\n" "未知的架构" "$(uname -m)" "unknown architecture" ;;
2222
esac
23-
if [[ $(command -v dpkg) && $(command -v apt) ]]; then
23+
if [[ $(command -v dpkg) && $(command -v apt-get) ]]; then
2424
case $(dpkg --print-architecture) in
2525
aarch64 | arm64*) ARCH_TYPE="arm64" ;;
2626
armv7* | armhf) ARCH_TYPE="armhf" ;;

tool.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ check_tmoe_command() {
9292
else
9393
TMOE_TIPS_01="tmoe t"
9494
fi
95-
TMOE_TIPS_00="Welcome to tmoe linux tool v1.4343,type ${TMOE_TIPS_01} to start this tool."
95+
TMOE_TIPS_00="Welcome to tmoe linux tool v1.4344,type ${TMOE_TIPS_01} to start this tool."
9696
#勿改00变量
9797
}
9898
#########
@@ -229,7 +229,7 @@ check_architecture() {
229229
mips*) ARCH_TYPE="mipsel" ;;
230230
risc*) ARCH_TYPE="riscv64" ;;
231231
esac
232-
if [[ $(command -v dpkg) && $(command -v apt) ]]; then
232+
if [[ $(command -v dpkg) && $(command -v apt-get) ]]; then
233233
case $(dpkg --print-architecture) in
234234
aarch64 | arm64*) ARCH_TYPE="arm64" ;;
235235
armv7* | armhf) ARCH_TYPE="armhf" ;;

0 commit comments

Comments
 (0)