1
0
forked from pool/roundcubemail

Accepting request 229665 from home:aeneas_jaissle:branches:server:php:applications

Remove possible 'leftover' SQL directory from document root, preventing upgrades from versions > 0.9.5 [bnc#872790]

OBS-URL: https://build.opensuse.org/request/show/229665
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/roundcubemail?expand=0&rev=75
This commit is contained in:
Wolfgang Rosenauer 2014-04-11 05:38:59 +00:00 committed by Git OBS Bridge
parent 03e23e0819
commit a3a8b0711d
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