修复包含同名的provider提供者时会错误删除多个提供者的bug
This commit is contained in:
@@ -550,7 +550,7 @@ setproviders(){ #自定义providers
|
||||
gen_${coretype}_providers $provider_name $provider_url
|
||||
;;
|
||||
4)
|
||||
sed -i "/$provider_name/d" $CRASHDIR/configs/providers.cfg
|
||||
sed -i "/^$provider_name /d" $CRASHDIR/configs/providers.cfg
|
||||
;;
|
||||
*)
|
||||
errornum
|
||||
|
||||
Reference in New Issue
Block a user