diff --git a/README.Fedora b/README.Fedora index b0b9be22e..2344865e3 100644 --- a/README.Fedora +++ b/README.Fedora @@ -14,13 +14,13 @@ authentication method", at the end of this document. 1) Create libreplan database ---------------------------- -# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/createdb.sql +# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/create_db.sql 2) Create libreplan user ------------------------ -# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/createuser.sql +# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/create_user_postgresql.sql 3) Install LibrePlan database diff --git a/README.openSUSE b/README.openSUSE index 0a26e21e0..142a1d6e4 100644 --- a/README.openSUSE +++ b/README.openSUSE @@ -14,13 +14,13 @@ authentication method", at the end of this document. 1) Create libreplan database ---------------------------- -# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/createdb.sql +# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/create_db.sql 2) Create libreplan user ------------------------ -# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/createuser.sql +# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/create_user_postgresql.sql 3) Install LibrePlan database diff --git a/libreplan.spec b/libreplan.spec index 85abf01fc..16dde45fe 100644 --- a/libreplan.spec +++ b/libreplan.spec @@ -77,8 +77,8 @@ install -Dm0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/%{name}/webapps/librepla # Copy SQL installation files mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/ -cp ${CURDIR}/scripts/database/createdb.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/ -cp ${CURDIR}/scripts/database/createuser.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/ +cp ${CURDIR}/scripts/database/create_db.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/ +cp ${CURDIR}/scripts/database/create_user_postgresql.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/ cp ${CURDIR}/scripts/database/install.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/ # Copy SQL upgrade script for version 1.0.0 diff --git a/scripts/database/createdb.sql b/scripts/database/create_db.sql similarity index 100% rename from scripts/database/createdb.sql rename to scripts/database/create_db.sql diff --git a/scripts/database/createuser.sql b/scripts/database/create_user_postgresql.sql similarity index 100% rename from scripts/database/createuser.sql rename to scripts/database/create_user_postgresql.sql