File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import os
77
88import jss
99
10- casperimport_version = '0b1 '
10+ casperimport_version = '0.0 '
1111supported_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
You can’t perform that action at this time.
0 commit comments