equal
deleted
inserted
replaced
163 private File getPackages_AppPackage(Map<String, ? super Object> params) { |
163 private File getPackages_AppPackage(Map<String, ? super Object> params) { |
164 return new File(PACKAGES_ROOT.fetchFrom(params), |
164 return new File(PACKAGES_ROOT.fetchFrom(params), |
165 APP_NAME.fetchFrom(params) + "-app.pkg"); |
165 APP_NAME.fetchFrom(params) + "-app.pkg"); |
166 } |
166 } |
167 |
167 |
168 private File getPackages_DaemonPackage(Map<String, ? super Object> params) { |
|
169 return new File(PACKAGES_ROOT.fetchFrom(params), |
|
170 APP_NAME.fetchFrom(params) + "-daemon.pkg"); |
|
171 } |
|
172 |
|
173 private File getConfig_DistributionXMLFile( |
168 private File getConfig_DistributionXMLFile( |
174 Map<String, ? super Object> params) { |
169 Map<String, ? super Object> params) { |
175 return new File(CONFIG_ROOT.fetchFrom(params), "distribution.dist"); |
170 return new File(CONFIG_ROOT.fetchFrom(params), "distribution.dist"); |
176 } |
171 } |
177 |
172 |
189 return new File(SCRIPTS_DIR.fetchFrom(params), "postinstall"); |
184 return new File(SCRIPTS_DIR.fetchFrom(params), "postinstall"); |
190 } |
185 } |
191 |
186 |
192 private String getAppIdentifier(Map<String, ? super Object> params) { |
187 private String getAppIdentifier(Map<String, ? super Object> params) { |
193 return IDENTIFIER.fetchFrom(params); |
188 return IDENTIFIER.fetchFrom(params); |
194 } |
|
195 |
|
196 private String getDaemonIdentifier(Map<String, ? super Object> params) { |
|
197 return IDENTIFIER.fetchFrom(params) + ".daemon"; |
|
198 } |
189 } |
199 |
190 |
200 private void preparePackageScripts(Map<String, ? super Object> params) |
191 private void preparePackageScripts(Map<String, ? super Object> params) |
201 throws IOException { |
192 throws IOException { |
202 Log.verbose(I18N.getString("message.preparing-scripts")); |
193 Log.verbose(I18N.getString("message.preparing-scripts")); |