mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-22 05:06:08 +03:00
update
This commit is contained in:
parent
63c7f8b7a7
commit
395d01aea8
@ -83,6 +83,8 @@ namespace ProxySuper.Core.Services
|
||||
if (!string.IsNullOrEmpty(cmd))
|
||||
{
|
||||
CmdType = CmdType.Dnf;
|
||||
//RunCmd("echo \"export LC_ALL=en_US.UTF-8\" >> /etc/profile");
|
||||
//RunCmd("source /etc/profile");
|
||||
}
|
||||
}
|
||||
|
||||
@ -406,14 +408,14 @@ namespace ProxySuper.Core.Services
|
||||
if (CmdType == CmdType.Dnf)
|
||||
{
|
||||
RunCmd("dnf install -y 'dnf-command(copr)'");
|
||||
RunCmd("dnf copr enable @caddy/caddy");
|
||||
RunCmd("dnf copr -y enable @caddy/caddy");
|
||||
RunCmd("dnf install -y caddy");
|
||||
}
|
||||
|
||||
if (CmdType == CmdType.Yum)
|
||||
{
|
||||
RunCmd("yum install -y yum-plugin-copr");
|
||||
RunCmd("yum copr enable @caddy/caddy");
|
||||
RunCmd("yum copr -y enable @caddy/caddy");
|
||||
RunCmd("yum install -y caddy");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user