#!/bin/sh # # phpMyEzin - e-zin content management system # # _sql/dump/make-dump.sh - creates initial SQL dump # ____________________________________________________________ # # Developed by Ondrej Jombik # Copyright (c) 2002,2004 Platon SDG, http://platon.sk/ # All rights reserved. # # See README file for more information about this software. # See COPYING file for license information. # # Download the latest version from # http://platon.sk/projects/phpMyEzin/ # # $Platon: Metafox/sql/dump/make-dump.sh,v 1.1 2005/06/05 12:15:35 nepto Exp $ mysqldump --compatible=mysql323 --add-drop-table -d phpmyezin > mysql.sql grep '^DROP TABLE' mysql.sql | sed 's/^.*\(ezin_[a-z_]\+\).*$/\1/g' > table-list.txt mysqldump -t phpmyezin ezin_roles >> mysql.sql cat >> mysql.sql <