修改: 修改指令收集结果;用后删除变量

This commit is contained in:
2022-05-31 13:03:37 +08:00
parent 932a3e2288
commit 69e4fea0ee

View File

@@ -12,16 +12,17 @@ Get_Dist_Name()
fi fi
} }
Get_Dist_Name #Get_Dist_Name
if [ "$DISTRO" = "Deepin" ] || [ "$DISTRO" = "UniontechOS" ];then #if [ "$DISTRO" = "Deepin" ] || [ "$DISTRO" = "UniontechOS" ];then
echo 1.0 > ~/.config/spark-wine/scale.txt #echo 1.0 > ~/.config/spark-wine/scale.txt
#####就是1倍缩放 #####就是1倍缩放
exit #exit
fi #fi
real_path_of_the_fucking_scale_txt=echo ~/.config/spark-wine/scale.txt real_path_of_the_fucking_scale_txt=`echo ~/.config/spark-wine/scale.txt`
if [ -f "$real_path_of_the_fucking_scale_txt" ];then if [ -f "$real_path_of_the_fucking_scale_txt" ];then
echo "设置过了,直接读" echo "设置过了,直接读"
unset real_path_of_the_fucking_scale_txt
exit exit
fi fi