lib/d3/package/server_actions.rb in depot3-3.0.20 vs lib/d3/package/server_actions.rb in depot3-3.0.21
- old
+ new
@@ -400,11 +400,11 @@
### @param admin[String] who's doing this?
###
### @param rwpw[String] the read-write for the master distr. point
###
### @return [Array<String>] a textual list of scripts delted and not
- ### deleted because they're in use by other d3 pkgs or casper policies
+ ### deleted because they're in use by other d3 pkgs or jamf policies
### (empty if keep_scripts is true)
###
def delete (keep_in_jss: false, keep_scripts: false, admin: @admin, rwpw: nil)
unless keep_in_jss
@@ -542,11 +542,11 @@
### Create, or re-create, the BOM index records for this
### Package in the JSS Database.
###
### This is the equivalent of clicking the "index" button
- ### in Casper Admin.app, and is necessary for Casper to
+ ### in Jamf Admin.app, and is necessary for Jamf Pro to
### be able to uninstall items. It can only happen after the
### item has already been saved to the JSS and has an
### id in the database.
###
### @param args[Hash] The arguments for the method
@@ -612,10 +612,10 @@
system "/usr/bin/hdiutil detach '#{mnt_point}'"
system "rm -rf '#{tmp_bom}'"
else
- raise JSS::InvalidDataError, "#{@filename} doesn't looks like a .pkg or .dmg. Try Casper Admin to index it."
+ raise JSS::InvalidDataError, "#{@filename} doesn't looks like a .pkg or .dmg. Try Jamf Admin to index it."
end # if filename .pkg
# If there are no bomlines (perhaps a payloadless pkg?) just return
return true if bom_lines.empty?