Compare commits

...

7 Commits

4 changed files with 46 additions and 32 deletions

View File

@ -11,7 +11,7 @@ latest:
- export DEBEMAIL="NOREPLY@`hostname -d`" - export DEBEMAIL="NOREPLY@`hostname -d`"
- mkdir -p builddir - mkdir -p builddir
- uscan --overwrite-download --destdir builddir - uscan --overwrite-download --destdir builddir
- cd ../nextcloud-server-25.0.11 - cd ../nextcloud-server-25.0.13
- dpkg-buildpackage -rfakeroot - dpkg-buildpackage -rfakeroot
- cd - ; cp ../nextcloud-server_*.deb . - cd - ; cp ../nextcloud-server_*.deb .
artifacts: artifacts:

View File

@ -17,9 +17,9 @@ git clone https://git.jurisic.org/ijurisic/nextcloud-deb.git
cd nextcloud-deb cd nextcloud-deb
git checkout bullseye git checkout bullseye
uscan --verbose --download-current-version uscan --verbose --download-current-version
cd ../nextcloud-server-25.0.11 cd ../nextcloud-server-25.0.13
dch -n dch -n
dpkg-buildpackage -rfakeroot -us -uc dpkg-buildpackage -rfakeroot -us -uc
cd .. cd ..
dpkg -i nextcloud-server_25.0.11-1~deb11_all.deb dpkg -i nextcloud-server_25.0.13-1~deb11_all.deb
``` ```

14
debian/changelog vendored
View File

@ -1,3 +1,17 @@
nextcloud-server (25.0.13-1~deb11) bullseye; urgency=medium
[ adam ]
* maint: pulled in the last version of nextcloud in the 25.x series (25.0.13)
-- Adam <adam@hax0rbana.org> Thu, 07 Nov 2023 17:23:09 -0600
nextcloud-server (25.0.12-1~deb11) bullseye; urgency=medium
[ adam ]
* maint: pulled in new version of nextcloud (25.0.12)
-- Adam <adam@hax0rbana.org> Thu, 21 Sep 2023 14:02:49 -0500
nextcloud-server (25.0.11-1~deb11) bullseye; urgency=medium nextcloud-server (25.0.11-1~deb11) bullseye; urgency=medium
[ adam ] [ adam ]

View File

@ -20,7 +20,7 @@ set -e
export APACHE2_MAINTSCRIPT_HELPER_QUIET=1 export APACHE2_MAINTSCRIPT_HELPER_QUIET=1
case "$1" in case "$1" in
configure) configure)
# Apache conf # Apache conf
if [ "a2query -c nextcloud"=~"No conf matches nextcloud" ]; then if [ "a2query -c nextcloud"=~"No conf matches nextcloud" ]; then
@ -29,7 +29,7 @@ case "$1" in
fi fi
# Apache modules # Apache modules
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
. /usr/share/apache2/apache2-maintscript-helper . /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod rewrite || exit $? apache2_invoke enmod rewrite || exit $?
apache2_invoke enmod headers || exit $? apache2_invoke enmod headers || exit $?
@ -44,16 +44,16 @@ case "$1" in
elif [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "true" ]; then 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 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 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 su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' >/dev/null || true
else else
echo "Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation." echo "Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation."
fi fi
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade | abort-remove | abort-deconfigure) ;;
;;
\
*) *)
echo "postinst called with unknown argument \`$1'" >&2 echo "postinst called with unknown argument \`$1'" >&2
exit 1 exit 1