forked from siddhartha-gupta/SMF-Likes
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage-info.xml
executable file
·34 lines (32 loc) · 1.7 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
<?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>sid2varun:like_posts</id>
<name>Like Posts</name>
<version>2.0.5</version>
<type>modification</type>
<install for="2.0 - 2.0.99">
<readme type="file" parsebbc="true">readme.txt</readme>
<require-dir name="Themes" destination="$boarddir">Theme files</require-dir>
<require-dir name="Sources/LikePosts" destination="$sourcedir">Source files</require-dir>
<database>installer/install.php</database>
<code>installer/installHooks.php</code>
<modification>installer/Modification.xml</modification>
<redirect url="?action=admin;area=likeposts" type="inline" timeout="2000">Please stand by while you are being redirected to this modification's configuration settings.</redirect>
</install>
<uninstall for="2.0 - 2.0.99">
<code>installer/uninstall.php</code>
<remove-dir name="$sourcedir/LikePosts" />
<remove-dir name="$imagesdir/LikePosts" />
<remove-dir name="$themedir/scripts/LikePosts" />
<remove-dir name="$themedir/images/LikePosts" />
<remove-file name="$themedir/LikePosts.template.php" />
<remove-file name="$themedir/LikePostsAdmin.template.php" />
<remove-file name="$themedir/LikePostsStats.template.php" />
<remove-file name="$themedir/css/likeposts.css" />
<remove-file name="$languagedir/LikePosts.english.php" />
<remove-file name="$languagedir/LikePosts.russian-utf8.php" />
<modification reverse="true">installer/Modification.xml</modification>
<redirect url="$scripturl?action=admin;area=packages;sa=browse" timeout="1000" />
</uninstall>
</package-info>