summaryrefslogtreecommitdiff
path: root/branding/scripts/osx-staple-uuid.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2021-07-15 17:10:31 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-07-15 17:23:55 +0200
commit8fd0fcc5eaa9b5fc7692304cdf24560dfb8862ab (patch)
tree9fb77f1ee6b88fb258a5f3fc08f02c3af4eaf074 /branding/scripts/osx-staple-uuid.py
parentd9131ae8c78519e6c8e17285ae29caa06e704892 (diff)
[pkg] improve stapler script
Diffstat (limited to 'branding/scripts/osx-staple-uuid.py')
-rwxr-xr-xbranding/scripts/osx-staple-uuid.py5
1 files changed, 5 insertions, 0 deletions
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])