/
package-info.xml
32 lines (29 loc) · 1.39 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
<?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>Suki:SMF-YOURLS</id>
<name>SMF-YOURLS Integration</name>
<version>1.0</version>
<type>modification</type>
<install for="2.0 - 2.0.99">
<readme parsebbc="true">readme.txt</readme>
<database>database.php</database>
<code>installHooks.php</code>
<modification type="file" format="xml">Yourls.xml</modification>
<require-dir name="Themes" destination="$boarddir">Theme and Language files</require-dir>
<require-dir name="Sources" destination="$boarddir">Source files</require-dir>
<require-file name="yourls.gif" destination="$imagesdir/bbc" />
<redirect url="?action=admin;area=modsettings;sa=yourls"></redirect>
</install>
<uninstall for="2.0 - 2.0.99">
<code>uninstallHooks.php</code>
<database>database.php</database>
<modification type="file" format="xml" reverse="true">Yourls.xml</modification>
<remove-file name="$sourcedir/Yourls.php" />
<remove-file name="$languagedir/Yourls.english.php" />
<remove-file name="$languagedir/Yourls.english-utf8.php" />
<remove-file name="$languagedir/Yourls.spanish_latin-utf8.php" />
<remove-file name="$languagedir/Yourls.spanish_latin.php" />
<remove-file name="$imagesdir/bbc/yourls.gif" />
</uninstall>
</package-info>