Index: trunk/wikiation/installer/installfiles/extensions/LiquidThreads.install/download.sh |
— | — | @@ -0,0 +1,12 @@ |
| 2 | +#!/bin/sh |
| 3 | + |
| 4 | +repository="$EXTENSIONS_SVN/$NAME" |
| 5 | + |
| 6 | +cd $DESTINATION_DIR |
| 7 | +if test -n "$REVISION"; then |
| 8 | + svn checkout -r $REVISION $repository |
| 9 | +else |
| 10 | + svn checkout $repository |
| 11 | +fi |
| 12 | + |
| 13 | +$MYSQL_COMMAND $DATABASE_NAME < $NAME/lqt.sql |
\ No newline at end of file |
Index: trunk/wikiation/installer/installfiles/extensions/LiquidThreads.install/uninstall.sh |
— | — | @@ -0,0 +1,6 @@ |
| 2 | +#!/bin/sh |
| 3 | + |
| 4 | +$MYSQL_COMMAND $DATABASE_NAME < lqt-uninstall.sql |
| 5 | + |
| 6 | +cd $DESTINATION_DIR |
| 7 | +rm -rf $NAME |
Index: trunk/wikiation/installer/installfiles/extensions/LiquidThreads.install/is_installed.sh |
— | — | @@ -0,0 +1,3 @@ |
| 2 | +#!/bin/sh |
| 3 | + |
| 4 | +test -d $DESTINATION_DIR/$NAME && echo "true" || echo "false" |
Index: trunk/wikiation/installer/installfiles/extensions/LiquidThreads.install/lqt-uninstall.sql |
— | — | @@ -0,0 +1,3 @@ |
| 2 | +DROP TABLE thread; |
| 3 | +DROP TABLE historical_thread; |
| 4 | +DROP TABLE user_message_state; |
\ No newline at end of file |
Index: trunk/wikiation/installer/installfiles/extensions/LiquidThreads.install/LiquidThreads.settings.php |
— | — | @@ -0,0 +1,2 @@ |
| 2 | +<?php |
| 3 | +require_once("$IP/extensions/LiquidThreads/LiquidThreads.php"); |
Index: trunk/wikiation/installer/installfiles/extensions/LiquidThreads.install/info |
— | — | @@ -0,0 +1,2 @@ |
| 2 | +liquidthreads: |
| 3 | +http://www.mediawiki.org/wiki/Extension:LiquidThreads |
Index: trunk/wikiation/installer/installfiles/extensions/LiquidThreads.install/update.sh |
— | — | @@ -0,0 +1,8 @@ |
| 2 | +#!/bin/sh |
| 3 | + |
| 4 | +cd $DESTINATION_DIR/$NAME |
| 5 | +if test -n "$REVISION"; then |
| 6 | + svn update -r $REVISION |
| 7 | +else |
| 8 | + svn update |
| 9 | +fi |