1
0
forked from pool/roundcubemail

Accepting request 229680 from server:php:applications

Remove possible 'leftover' SQL directory from document root, preventing upgrades from versions > 0.9.5 [bnc#872790] (forwarded request 229665 from aeneas_jaissle)

OBS-URL: https://build.opensuse.org/request/show/229680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/roundcubemail?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2014-04-13 11:19:52 +00:00 committed by Git OBS Bridge
commit ecffeeddb9
2 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 10 20:22:54 UTC 2014 - aj@ajaissle.de
- Remove possible 'leftover' SQL directory from document root,
preventing upgrades from versions > 0.9.5 [bnc#872790]
-------------------------------------------------------------------
Tue Apr 8 06:55:11 UTC 2014 - aj@ajaissle.de
@ -65,7 +71,7 @@ Wed Jan 22 11:15:31 UTC 2014 - aj@ajaissle.de
-------------------------------------------------------------------
Fri Jan 10 17:54:21 UTC 2014 - aj@ajaissle.de
- Fixed typo in apache2 config file
- Fixed typo in apache2 config file [bnc#842800]
-------------------------------------------------------------------
Fri Jan 10 15:58:15 UTC 2014 - aj@ajaissle.de

View File

@ -178,6 +178,13 @@ if [[ ! -h %{roundcubepath}/temp ]]; then
mv %{roundcubepath}/temp %{roundcubepath}/migration/.
fi
fi
if [[ ! -h %{roundcubepath}/SQL ]]; then
if [[ -d %{roundcubepath}/SQL ]]; then
mkdir -p %{roundcubepath}/migration
mv %{roundcubepath}/SQL %{roundcubepath}/migration/.
fi
fi
for PLUGIN in acl managesieve password; do
if [[ ! -h %{roundcubepath}/plugins/$PLUGIN/config.inc.php ]]; then
if [[ -f %{roundcubepath}/plugins/$PLUGIN/config.inc.php ]]; then
@ -223,6 +230,11 @@ if [[ -h %{roundcubepath}/temp ]]; then
mv %{roundcubepath}/migration/temp %{roundcubepath}/migrated/.
fi
fi
if [[ -h %{roundcubepath}/SQL ]]; then
if [[ -d %{roundcubepath}/migration/SQL ]]; then
rm -r %{roundcubepath}/migration/SQL
fi
fi
for PLUGIN in acl managesieve password; do
if [[ -f %{roundcubepath}/migration/$PLUGIN.inc.php ]]; then
if [[ -h %{roundcubepath}/plugins/$PLUGIN/config.inc.php ]]; then