View | Details | Raw Unified | Return to bug 17265
Collapse All | Expand All

(-)a/debian/scripts/koha-create (-1 / +1 lines)
Lines 741-747 then Link Here
741
    then
741
    then
742
        # Populate the database with default content.
742
        # Populate the database with default content.
743
        zcat "$DEFAULTSQL" |
743
        zcat "$DEFAULTSQL" |
744
        sed "s/__KOHASITE__/$name/g" |
744
        sed "s/__KOHASITE__/koha_$name/g" |
745
        mysql --host="$mysqlhost" --user="$mysqluser" --password="$mysqlpwd" "$mysqldb"
745
        mysql --host="$mysqlhost" --user="$mysqluser" --password="$mysqlpwd" "$mysqldb"
746
746
747
747
(-)a/debian/scripts/koha-dump-defaults (-2 / +1 lines)
Lines 33-36 mysqluser="$( xmlstarlet sel -t -v 'yazgfs/config/user' $kohaconfig )" Link Here
33
mysqlpass="$( xmlstarlet sel -t -v 'yazgfs/config/pass' $kohaconfig )"
33
mysqlpass="$( xmlstarlet sel -t -v 'yazgfs/config/pass' $kohaconfig )"
34
mysqldump --databases --host="$mysqlhost" --user="$mysqluser" \
34
mysqldump --databases --host="$mysqlhost" --user="$mysqluser" \
35
    --password="$mysqlpass" "$mysqldb" |
35
    --password="$mysqlpass" "$mysqldb" |
36
    sed "s/$name/__KOHASITE__/g"
36
    sed "s/koha_$name/__KOHASITE__/g"
37
- 

Return to bug 17265