Skip to content
Snippets Groups Projects

Only create the top links for install_project style installs

Merged Ben Couturier requested to merge (removed):LBCORE-1033 into master
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -181,15 +181,15 @@ class PostInstallScript(Script):
@@ -181,15 +181,15 @@ class PostInstallScript(Script):
# kept for backwards compatibility
# kept for backwards compatibility
# We don't create the links when installing from RPM
# We don't create the links when installing from RPM
rc = self.createTopLinks()
if rc != 0 :
return rc
if 'LBRPM_INSTALL' not in os.environ:
if 'LBRPM_INSTALL' not in os.environ:
rc = self.createProdLink()
rc = self.createProdLink()
if rc != 0 :
if rc != 0 :
return rc
return rc
 
rc = self.createTopLinks()
 
if rc != 0 :
 
return rc
 
rc = self.createEtcLinks()
rc = self.createEtcLinks()
if rc != 0 :
if rc != 0 :
return rc
return rc
Loading