#!/bin/sh MODS=" announcements \ spamhurdles \ username_restrictions \ impersonate_user \ search_spelling \ in_body_attachments \ show_moderators \ jumpmenu \ signature_restrictions \ bbcode_spoiler \ markallforumsread \ bbcode_video \ smtp_mail \ paticik \ spamhurdles \ postcount_tagging \ sphinx_search \ recent_forum_author \ user_avatar \ format_edit_notification \ recent_messages \ username_restrictions \ " echo "Update main code" svn up echo "Update template" (cd templates/paticik; svn up) for M in $MODS do echo "Update module: $M" (cd mods/$M; svn up) if [ -d mods/$M/templates/paticik ] then if [ "$M" != "sphinx_search" ]; then echo "Update paticik module template: $M" (cd mods/$M/templates/paticik; svn up) fi fi done