mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-04 06:39:43 +01:00
debian 13 ols fix
This commit is contained in:
@@ -6,7 +6,7 @@ RUN apt-get update && \
|
||||
apt-get install -y wget gnupg ca-certificates
|
||||
|
||||
# Install OpenLiteSpeed
|
||||
RUN wget -O - https://repo.litespeed.sh | bash
|
||||
RUN bash -c 'wget -O - https://repo.litespeed.sh | bash'
|
||||
|
||||
RUN apt-get install -y openlitespeed
|
||||
|
||||
|
||||
@@ -463,7 +463,7 @@ class preFlightsChecks:
|
||||
if self.distro == ubuntu:
|
||||
try:
|
||||
# Use the new LiteSpeed repository setup method
|
||||
command = "wget -O - https://repo.litespeed.sh | bash"
|
||||
command = "bash -c 'wget -O - https://repo.litespeed.sh | bash'"
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||
except:
|
||||
logging.InstallLog.writeToFile("[ERROR] Exception during CyberPanel install")
|
||||
|
||||
@@ -44,7 +44,7 @@ class installUtilities:
|
||||
try:
|
||||
# Use the official LiteSpeed repository installation script
|
||||
# This supports all OS versions including CentOS/AlmaLinux/Rocky 7, 8, and 9
|
||||
cmd = "wget -O - https://repo.litespeed.sh | bash"
|
||||
cmd = "bash -c 'wget -O - https://repo.litespeed.sh | bash'"
|
||||
|
||||
res = subprocess.call(cmd, shell=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user