New upstream 27.0.2

This commit is contained in:
Ivan Jurišić 2023-08-22 11:32:26 +00:00
parent f54062a442
commit fa8362a941
3 changed files with 9 additions and 2 deletions

View File

@ -17,9 +17,9 @@ git clone https://git.jurisic.org/ijurisic/nextcloud-deb.git
cd nextcloud-deb
git checkout bookworm
uscan --verbose --download-current-version
cd ../nextcloud-server-<current_version>
cd ../nextcloud-server-27.0.2
dch -n
dpkg-buildpackage -rfakeroot -us -uc
cd ..
dpkg -i nextcloud-server_<current_version>_all.deb
dpkg -i nextcloud-server_27.0.2-1~deb12_all.deb
```

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
nextcloud-server (27.0.2-1~deb12) bookworm; urgency=medium
* New upstream release 27.0.2
-- Ivan Jurišić <ivan@jurisic.org> Tue, 22 Aug 2023 11:20:48 +0000
nextcloud-server (27.0.1-1~deb12) bookworm; urgency=medium
* New upstream release 27.0.1

View File

@ -43,6 +43,7 @@ case "$1" in
echo "After configure please run su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web'"
elif [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "true" ]; then
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ upgrade'
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ db:add-missing-indices'
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' > /dev/null || true
else
echo "Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation."