forked from Eric-Brison/offline-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.xml.in
53 lines (46 loc) · 1.99 KB
/
info.xml.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<module name="@PACKAGE@" disabled="no" version="@VERSION@" release="@RELEASE@">
<description>Dynacase Offline is the component to access to Dynacase in offline mode</description>
<replaces>
<module name="freedom-offline" />
</replaces>
<requires>
<module name="dynacase-workspace" />
<module name="dynacase-offline-client" />
<module name="dynacase-offline-xulruntimes" />
<module name="dynacase-htmledit" />
</requires>
<pre-install>
<check type="syscommand" command="gunzip" />
<check type="syscommand" command="tar" />
<check type="syscommand" command="patch" />
<check type="syscommand" command="zip" />
<check type="syscommand" command="makensis" optional="yes" />
</pre-install>
<pre-upgrade>
<check type="syscommand" command="gunzip" />
<check type="syscommand" command="tar" />
<check type="syscommand" command="patch" />
<check type="syscommand" command="zip" />
<check type="syscommand" command="makensis" optional="yes" />
</pre-upgrade>
<post-install>
<process command="programs/record_application @APPNAME@" />
<process command="./wsh.php --api=freedom_import --file=./@APPNAME@/offlineFamilies.ods">
<label lang="en">Create offline families</label>
</process>
<process command="./wsh.php --api=freedom_import --file=./@APPNAME@/offlineProfils.ods">
<label lang="en">Create offline profils</label>
</process>
<process command="programs/update_catalog" />
</post-install>
<post-upgrade>
<process command="programs/pre_migration @APPNAME@" />
<process command="programs/record_application @APPNAME@" />
<process command="./wsh.php --api=freedom_import --reinitattr=no --file=./@APPNAME@/offlineFamilies.ods">
<label lang="en">Update offline families</label>
</process>
<process command="programs/post_migration @APPNAME@" />
<process command="programs/update_catalog" />
</post-upgrade>
</module>