From 8fd0fcc5eaa9b5fc7692304cdf24560dfb8862ab Mon Sep 17 00:00:00 2001 From: kali Date: Thu, 15 Jul 2021 17:10:31 +0200 Subject: [pkg] improve stapler script --- branding/scripts/osx-staple-uuid.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 branding/scripts/osx-staple-uuid.py (limited to 'branding/scripts/osx-staple-uuid.py') diff --git a/branding/scripts/osx-staple-uuid.py b/branding/scripts/osx-staple-uuid.py new file mode 100755 index 0000000..2db3699 --- /dev/null +++ b/branding/scripts/osx-staple-uuid.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 +import sys +arg = sys.argv[1] +line = [x for x in arg.split('\n') if x.startswith('Status:')] +print(line[0].split('=')[1]) -- cgit v1.2.3