Upgrade: resolve conflict, default CYBERPANEL_GIT_USER to master3395

This commit is contained in:
master3395
2026-02-17 00:03:03 +01:00
parent a42e2ffab0
commit 924f00892b

View File

@@ -3975,7 +3975,7 @@ class Migration(migrations.Migration):
return 0, 'Failed to remove old CyberCP directory'
# Clone the new repository (use CYBERPANEL_GIT_USER for fork, e.g. master3395)
git_user = os.environ.get('CYBERPANEL_GIT_USER', 'usmannasir')
git_user = os.environ.get('CYBERPANEL_GIT_USER', 'master3395')
Upgrade.stdOut("Cloning fresh CyberPanel repository...")
command = 'git clone https://github.com/%s/cyberpanel CyberCP' % git_user
if not Upgrade.executioner(command, command, 1):