153 |
*/15 * * * * apache /usr/bin/php -f /usr/share/nextcloud/cron.php |
*/15 * * * * apache /usr/bin/php -f /usr/share/nextcloud/cron.php |
154 |
EOF |
EOF |
155 |
|
|
156 |
|
cat > README.urpmi <<EOF |
157 |
|
Upgrade information |
158 |
|
|
159 |
|
Starting with Nextcloud version 12, the config file changes a lot. |
160 |
|
When upgrading from a previous version, you will have to edit by yourself |
161 |
|
the config file using /etc/nextcloud/config.php.rpmnew as reference. |
162 |
|
EOF |
163 |
|
|
164 |
|
|
165 |
%pre |
%pre |
166 |
# on update from previous release, move data directory from |
# on update from previous release, move data directory from |
167 |
# %{_localstatedir}/lib/%{name} to %{_localstatedir}/lib/%{name}/data |
# %{_localstatedir}/lib/%{name} to %{_localstatedir}/lib/%{name}/data |
173 |
fi |
fi |
174 |
fi |
fi |
175 |
|
|
|
===================================================================== |
|
|
cat > README.urpmi <<EOF |
|
|
|
|
|
Starting with Nextcloud version 12, Mageia package puts the apps dir |
|
|
in a dedicated data folder. This change cannot be automated when |
|
|
upgrading from previous version, so you'll have to edit by yourself |
|
|
the config file using /etc/nextcloud/config.php.rpmnew. |
|
|
|
|
|
EOF |
|
|
===================================================================== |
|
176 |
|
|
177 |
%files |
%files |
178 |
%doc AUTHORS config/config.sample.php README.urpmi |
%doc AUTHORS config/config.sample.php README.urpmi |