<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	ATTENTION: If you are trying to install this manually, you should try
	the package manager.  If it will not work for you, please take a look
	at the following for information on this format:
		http://www.simplemachines.org/redirect/manual_mod_install
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
	<id>OutofOrder:GoodPostBadPost</id>
	<name>Good Post/Bad Post Mod</name>
	<version>2.0.4</version>

	<type>modification</type>

	<install for="2.0 RC4">
		<readme type="file" parsebbc="true">GPBP_Readme.txt</readme>

		<database type="file">gpbp_install.php</database>

		<modification type="file" format="xml">install.xml</modification>
		<modification type="file" format="xml">language_russian.xml</modification>

		<require-file name="2.x/GoodPostBadPost.php" destination="$sourcedir" />
		<require-file name="2.x/GPBPManage.template.php" destination="$themedir" />
		<require-file name="2.x/gpbp.css" destination="$themedir/css" />
		<require-file name="2.x/gpbp.js" destination="$themedir/scripts" />
		<require-file name="gpbp_arrow_down.gif" destination="$imagesdir" />
		<require-file name="gpbp_arrow_down_lit.gif" destination="$imagesdir" />
		<require-file name="gpbp_arrow_up.gif" destination="$imagesdir" />
		<require-file name="gpbp_arrow_up_lit.gif" destination="$imagesdir" />
		<require-file name="gpbp_grey_stripes.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_voterslist.gif" destination="$imagesdir" />
		<require-file name="2.x/gpbp_manage.gif" destination="$imagesdir/admin" />
		<require-file name="2.x/gpbp_motw.gif" destination="$imagesdir/icons" />
	</install>

	<install for="2.0 RC3">
		<readme type="file" parsebbc="true">GPBP_Readme.txt</readme>

		<database type="file">gpbp_install_rc3.php</database>

		<modification type="file" format="xml">install.xml</modification>
		<modification type="file" format="xml">language_russian.xml</modification>

		<require-file name="2.x/GoodPostBadPost.php" destination="$sourcedir" />
		<require-file name="2.x/GPBPManage.template.php" destination="$themedir" />
		<require-file name="2.x/gpbp.css" destination="$themedir/css" />
		<require-file name="2.x/gpbp.js" destination="$themedir/scripts" />
		<require-file name="gpbp_arrow_down.gif" destination="$imagesdir" />
		<require-file name="gpbp_arrow_down_lit.gif" destination="$imagesdir" />
		<require-file name="gpbp_arrow_up.gif" destination="$imagesdir" />
		<require-file name="gpbp_arrow_up_lit.gif" destination="$imagesdir" />
		<require-file name="gpbp_grey_stripes.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_voterslist.gif" destination="$imagesdir" />
		<require-file name="2.x/gpbp_manage.gif" destination="$imagesdir/admin" />
		<require-file name="2.x/gpbp_motw.gif" destination="$imagesdir/icons" />
	</install>

	<install for="1.1-1.1.11,2.0 RC1,2.0 RC1,2.0 RC1.2,2.0 RC2">
		<readme type="file" parsebbc="true">GPBP_Please.txt</readme>
	</install>

	<upgrade from="2.0.3" for="2.0 RC3,2.0 RC4">
		<readme type="file" parsebbc="true">GPBP_Upgrade_Readme.txt</readme>

		<modification type="file" format="xml">upgrade.xml</modification>

		<remove-file name="$sourcedir/GoodPostBadPost.php" />
		<remove-file name="$themedir/GPBPManage.template.php" />

		<require-file name="2.x/GoodPostBadPost.php" destination="$sourcedir" />
		<require-file name="2.x/GPBPManage.template.php" destination="$themedir" />
	</upgrade>

	<upgrade from="1.1.3" for="2.0 RC4">
		<readme type="file" parsebbc="true">GPBP_1.1.3_Upgrade_Readme.txt</readme>

		<database type="file">gpbp_upgrade_1.1.3.php</database>

		<modification type="file" format="xml">upgrade_2.0.xml</modification>
		<modification type="file" format="xml">upgrade_accumulated_2.0.1.xml</modification>
		<modification type="file" format="xml">upgrade_accumulated_2.0.2.xml</modification>
		<modification type="file" format="xml">upgrade_accumulated_2.0.3.xml</modification>
		<modification type="file" format="xml">upgrade_spanish_lan_fix.xml</modification>
		<modification type="file" format="xml">upgrade.xml</modification>
		<modification type="file" format="xml">language_russian.xml</modification>

		<remove-file name="$sourcedir/GoodPostBadPost.php" />
		<remove-file name="$themedir/GPBPManage.template.php" />
		<remove-file name="$themedir/css/gpbp.css" />
		<remove-file name="$themedir/scripts/gpbp.js" />

		<require-file name="2.x/GoodPostBadPost.php" destination="$sourcedir" />
		<require-file name="2.x/GPBPManage.template.php" destination="$themedir" />
		<require-file name="2.x/gpbp.css" destination="$themedir/css" />
		<require-file name="2.x/gpbp.js" destination="$themedir/scripts" />
		<require-file name="2.x/gpbp_2_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_2_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_3_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_down.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_down_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_up.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_4_arrow_up_lit.png" destination="$imagesdir" />
		<require-file name="2.x/gpbp_voterslist.gif" destination="$imagesdir" />
		<require-file name="2.x/gpbp_motw.gif" destination="$imagesdir/icons" />
	</upgrade>

	<uninstall for="2.0 RC3,2.0 RC4">
		<readme type="file" parsebbc="true">GPBP_Uninstall.txt</readme>

		<modification reverse="true">install.xml</modification>
		<modification reverse="true">language_russian.xml</modification>

		<remove-file name="$sourcedir/GoodPostBadPost.php" />
		<remove-file name="$themedir/GPBPManage.template.php" />
		<remove-file name="$themedir/css/gpbp.css" />
		<remove-file name="$themedir/scripts/gpbp.js" />
		<remove-file name="$imagesdir/gpbp_grey_stripes.png" />
		<remove-file name="$imagesdir/gpbp_arrow_down.gif" />
		<remove-file name="$imagesdir/gpbp_arrow_down_lit.gif" />
		<remove-file name="$imagesdir/gpbp_arrow_up.gif" />
		<remove-file name="$imagesdir/gpbp_arrow_up_lit.gif" />
		<remove-file name="$imagesdir/gpbp_2_arrow_down.png" />
		<remove-file name="$imagesdir/gpbp_2_arrow_down_lit.png" />
		<remove-file name="$imagesdir/gpbp_2_arrow_up.png" />
		<remove-file name="$imagesdir/gpbp_2_arrow_up_lit.png" />
		<remove-file name="$imagesdir/gpbp_3_arrow_down.png" />
		<remove-file name="$imagesdir/gpbp_3_arrow_down_lit.png" />
		<remove-file name="$imagesdir/gpbp_3_arrow_up.png" />
		<remove-file name="$imagesdir/gpbp_3_arrow_up_lit.png" />
		<remove-file name="$imagesdir/gpbp_4_arrow_down.png" />
		<remove-file name="$imagesdir/gpbp_4_arrow_down_lit.png" />
		<remove-file name="$imagesdir/gpbp_4_arrow_up.png" />
		<remove-file name="$imagesdir/gpbp_4_arrow_up_lit.png" />
		<remove-file name="$imagesdir/gpbp_voterslist.gif" />
		<remove-file name="$imagesdir/icons/gpbp_motw.gif" />
		<remove-file name="$imagesdir/admin/gpbp_manage.gif" />
	</uninstall>

</package-info>