mirror of
https://gitee.com/spark-store-project/additional-base-lib
synced 2026-05-14 02:00:20 +08:00
enhance transhell logic
This commit is contained in:
@@ -5,8 +5,12 @@ then
|
|||||||
source /opt/durapps/transhell/transhell.sh
|
source /opt/durapps/transhell/transhell.sh
|
||||||
load_transhell
|
load_transhell
|
||||||
else
|
else
|
||||||
|
if [ -f "/usr/share/ablrun/transhell/ablrun_${LANG%.*}.transhell" ]
|
||||||
|
then
|
||||||
|
source "/usr/share/ablrun/transhell/ablrun_${LANG%.*}.transhell"
|
||||||
|
else
|
||||||
source /usr/share/ablrun/transhell/ablrun_en_US.transhell
|
source /usr/share/ablrun/transhell/ablrun_en_US.transhell
|
||||||
source /usr/share/ablrun/transhell/ablrun_$(echo ${LANG%.*}).transhell
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$*" = "" ]
|
if [ "$*" = "" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user