/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.2.0-bz12685-defaultphponinstall.patch
ViewVC logotype

Annotation of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.2.0-bz12685-defaultphponinstall.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu May 16 13:41:27 2024 UTC (6 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: smeserver-nextcloud-1_2_0-31_el7_sme, HEAD
* Thu May 16 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2.0-31.sme
- fix php version on initial install [SME: 12685]

1 jpp 1.1 diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/usr/bin/occ smeserver-nextcloud-1.2.0/root/usr/bin/occ
2     --- smeserver-nextcloud-1.2.0.old/root/usr/bin/occ 2024-05-16 09:17:08.718000000 -0400
3     +++ smeserver-nextcloud-1.2.0/root/usr/bin/occ 2024-05-16 09:19:34.672000000 -0400
4     @@ -1,5 +1,5 @@
5     #!/bin/bash
6     -majversion=$(/usr/bin/grep -Eo "'version'.*[0-9]{2}\." /usr/share/nextcloud/config/config.php |/usr/bin/grep -Eo "[0-9]{2}"|head -1)
7     +majversion=$((/usr/bin/grep -Eo "'version'.*[0-9]{2}\." /usr/share/nextcloud/config/config.php 2>/dev/null || echo "26" )|/usr/bin/grep -Eo "[0-9]{2}"|head -1)
8     memory=$(/sbin/e-smith/config getprop nextcloud memory_limit|| echo "1024M")
9     myphp=/usr/bin/php81
10     if [[ $majversion -le '24' ]]; then

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed