/[smecontribs]/rpms/smeserver-oats/contribs7/smeserver-oats-2.0.3-db_template-typo.patch
ViewVC logotype

Annotation of /rpms/smeserver-oats/contribs7/smeserver-oats-2.0.3-db_template-typo.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Thu Feb 21 18:36:53 2008 UTC (16 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch contribs7 of package smeserver-oats-0.0.1-1.src.rpm

1 fetcher 1.1 --- smeserver-oats-2.0.3/root/etc/e-smith/templates/etc/e-smith/sql/init/80oats.sql.db_template-typo 2008-02-02 19:01:27.000000000 -0700
2     +++ smeserver-oats-2.0.3/root/etc/e-smith/templates/etc/e-smith/sql/init/80oats.sql 2008-02-02 19:05:58.000000000 -0700
3     @@ -2,7 +2,7 @@
4     my $db = $oats{DbName} || 'oats';
5     my $user = $oats{DbUser} || 'oats';
6     my $pass = $oats{DbPassword} || 'pleasechangeme';
7     - OUT .= <<END
8     + $OUT .= <<END
9     #! /bin/sh
10     if [ -d /var/lib/mysql/$db ]; then
11     exit
12     @@ -10,7 +10,6 @@
13     /usr/bin/mysql <<EOF
14     CREATE DATABASE $db DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
15     use $db;
16     - #
17     use mysql;
18     GRANT ALL PRIVILEGES ON $db.* TO $user\@localhost
19     IDENTIFIED BY '$pass';

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed