diff options
Diffstat (limited to 'net-mail/web-cyradm/web-cyradm-0.5.4-r3.ebuild')
-rw-r--r-- | net-mail/web-cyradm/web-cyradm-0.5.4-r3.ebuild | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net-mail/web-cyradm/web-cyradm-0.5.4-r3.ebuild b/net-mail/web-cyradm/web-cyradm-0.5.4-r3.ebuild index 038e39b..f8e80f3 100644 --- a/net-mail/web-cyradm/web-cyradm-0.5.4-r3.ebuild +++ b/net-mail/web-cyradm/web-cyradm-0.5.4-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -78,7 +78,7 @@ src_unpack() { cd "${S}" # Remove .cvs* files and CVS directories - find . -name .cvs\* -or \( -type d -name CVS -prune \) -exec rm -rf "{}" ";" + ecvs_clean # Rename the config file mv -f config/conf.php.dist config/conf.php @@ -103,20 +103,20 @@ src_install() { # Because of limitations in the webapp ECLASS we need to merge the # insertuser SQL scripts into one file if use mysql || ( ! use mysql && ! use postgres ) ; then - cp scripts/insertuser_mysql.sql ${T}/merged_mysql.sql - echo >>${T}/merged_mysql.sql - sed -n "s:^create database:USE:gIp" scripts/insertuser_mysql.sql >>${T}/merged_mysql.sql - echo >>${T}/merged_mysql.sql - cat scripts/create_mysql.sql >>${T}/merged_mysql.sql - webapp_sqlscript mysql ${T}/merged_mysql.sql + cp scripts/insertuser_mysql.sql "${T}"/merged_mysql.sql + echo >>"${T}"/merged_mysql.sql + sed -n "s:^create database:USE:gIp" scripts/insertuser_mysql.sql >>"${T}"/merged_mysql.sql + echo >>"${T}"/merged_mysql.sql + cat scripts/create_mysql.sql >>"${T}"/merged_mysql.sql + webapp_sqlscript mysql "${T}"/merged_mysql.sql webapp_sqlscript mysql scripts/upgrade-0.5.3-to-0.5.4_mysql.sql 0.5.3 elif use postgres; then - cp scripts/insertuser_pgsql.sql ${T}/merged_pgsql.sql - echo >>${T}/merged_pgsql.sql - sed -n "s:^create database:USE:gIp" scripts/insertuser_pgsql.sql >>${T}/merged_pgsql.sql - echo >>${T}/merged_pgsql.sql - cat scripts/create_pgsql.sql >>${T}/merged_pgsql.sql - webapp_sqlscript pgsql ${T}/merged_pgsql.sql + cp scripts/insertuser_pgsql.sql "${T}"/merged_pgsql.sql + echo >>"${T}"/merged_pgsql.sql + sed -n "s:^create database:USE:gIp" scripts/insertuser_pgsql.sql >>"${T}"/merged_pgsql.sql + echo >>"${T}"/merged_pgsql.sql + cat scripts/create_pgsql.sql >>"${T}"/merged_pgsql.sql + webapp_sqlscript pgsql "${T}"/merged_pgsql.sql webapp_sqlscript pgsql scripts/upgrade-0.5.3-to-0.5.4_pgsql.sql 0.5.3 fi |