Skip to content

Commit 471acf1

Browse files
committed
cPanel importer: fix symlink error.
1 parent 97b5bd0 commit 471acf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plogical/cPanelImporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def CreateMainWebsite(self):
269269
movePath = '%s/homedir/%s' % (
270270
CompletPathToExtractedArchive, self.documentRoot.replace(self.homeDir, '', 1).replace('/', ''))
271271

272-
shutil.copytree(movePath, nowPath)
272+
shutil.copytree(movePath, nowPath, symlinks=True)
273273

274274
command = 'chown -R %s:%s %s' % (externalApp, externalApp, nowPath)
275275
ProcessUtilities.normalExecutioner(command)

0 commit comments

Comments
 (0)