Skip to content

Commit a041a40

Browse files
committed
changed comments
1 parent 8a8e7b2 commit a041a40

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

casperimport

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import os
77

88
import jss
99

10-
casperimport_version = '0b1'
10+
casperimport_version = '0.0'
1111
supported_extensions = ['pkg']
1212

1313
# casperimport
@@ -42,6 +42,16 @@ if __name__ == "__main__":
4242
print ".%s is not a supported extension!" % item_extension
4343
exit(1)
4444

45+
# if item is a dmg, mount it and find useful contents
46+
47+
# extract version and other metadata
48+
49+
# if item is a bundle try to find Info.plist
50+
51+
# if item is a flat package, expand into tmp and get version
52+
53+
# try to extract version from file name
54+
4555
# if path is a pkg
4656

4757
# extract version
@@ -52,8 +62,6 @@ if __name__ == "__main__":
5262

5363
# pkgbuild
5464

55-
# if path is a dmg -> mount and act on contents
56-
5765
# upload to jss
5866

5967
# if item is a directory, zip it

0 commit comments

Comments
 (0)