File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff 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# ########################
5555tmoe_manager_env () {
Original file line number Diff line number Diff line change 1919risc* ) ARCH_TYPE=" riscv64" ;;
2020* ) printf " ${RED} %s${RESET} %s ${RED} %s${RESET} \n" " 未知的架构" " $( uname -m) " " unknown architecture" ;;
2121esac
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" ;;
Original file line number Diff line number Diff line change 3232 TRUE_ARCH_TYPE=" riscv64"
3333 ;;
3434esac
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" ;;
Original file line number Diff line number Diff 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" ;;
Original file line number Diff line number Diff 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" ;;
You can’t perform that action at this time.
0 commit comments