forked from realdigger/SMF-Garage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package-info.xml
37 lines (33 loc) · 1.72 KB
/
package-info.xml
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
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>RRasco:SMFGarage</id>
<name>SMF Garage</name>
<type>modification</type>
<version>2.3.2</version>
<!-- Installation, the key part of this file. -->
<install for="2.0.9-2.0.99">
<readme parsebbc="true">readme.txt</readme>
<code type="file">install_db.php</code>
<modification type="file">modification.xml</modification>
<require-dir name="Sources" destination="$boarddir"/>
<require-dir name="Themes" destination="$boarddir"/>
<require-dir name="Garage" destination="$boarddir"/>
<require-file name="SSI_Garage.php" destination="$boarddir" />
<require-file name="ssi_garage_examples.php" destination="$boarddir" />
<redirect url="?action=admin;area=garagesettings" timeout="1000" />
</install>
<!-- Don't forget something to make it uninstallable! -->
<uninstall for="2.0.9-2.0.99">
<modification type="file" reverse="true">modification.xml</modification>
<remove-file name="$sourcedir/Garage.php"/>
<remove-file name="$sourcedir/GarageFunctions.php"/>
<remove-file name="$sourcedir/GarageSettings.php"/>
<remove-file name="$sourcedir/GarageManagement.php"/>
<remove-file name="$themedir/Garage.template.php"/>
<remove-file name="$themedir/GarageSettings.template.php"/>
<remove-file name="$themedir/GarageManagement.template.php"/>
<remove-file name="$boarddir/Mod-SSI_Garage.php"/>
<remove-file name="$boarddir/Mod-ssi_garage_examples.php"/>
</uninstall>
</package-info>