Skip to content

Commit

Permalink
KCore notifications: any user can receive an update listing the machi…
Browse files Browse the repository at this point in the history
…nes on which Cassiopee is installed, their date and their status (OK/FAILED).

  - set the env. variable  as
  - execute the following command:
  • Loading branch information
vincentcasseau committed Jun 17, 2024
1 parent 76887b2 commit 6138620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cassiopee/KCore/installLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
shutil.copyfile("installPath.py", installPath+"/installPath.py")
shutil.copyfile("installBase.py", installPath+"/installBase.py")
shutil.copyfile("test/notify.py", installPath+"/notify.py")
shutil.copyfile("test/notifyInstall.py", installPath+"/notifyInstall.py")

# Ecrit les infos d'install
Dist.writeBuildInfo()
Expand Down
3 changes: 1 addition & 2 deletions Cassiopee/KCore/test/notifyInstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ def parseArgs():
if __name__ == '__main__':
script_args = parseArgs()
recipients = script_args.recipients.split(' ')
if not recipients[0]:
recipients = ['[email protected]', '[email protected]']
if not recipients[0]: recipients = []

# Check install status
log_entries = []
Expand Down

0 comments on commit 6138620

Please sign in to comment.