File tree Expand file tree Collapse file tree 7 files changed +21
-7
lines changed
Expand file tree Collapse file tree 7 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Find the full documentation at [docs.nextcloudpi.com](http://docs.nextcloudpi.co
1616## Features
1717
1818 * Debian/Raspbian 10 Buster
19- * Nextcloud 16 .0.5
19+ * Nextcloud 17 .0.1
2020 * Apache 2.4.25, with HTTP2 enabled
2121 * PHP 7.3
2222 * MariaDB 10
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ configure()
2626
2727 # launch mariadb if not already running
2828 if ! pgrep -c mysqld & > /dev/null; then
29- mysqld &
29+ mysqld &
3030 fi
3131
3232 # wait for mariadb
33- pgrep -x mysqld & > /dev/null || {
33+ pgrep -x mysqld & > /dev/null || {
3434 echo " mariaDB process not found. Waiting..."
3535 while : ; do
3636 [[ -S /run/mysqld/mysqld.sock ]] && break
125125 local ID=$( grep instanceid config/config.php | awk -F " => " ' { print $2 }' | sed " s|[,']||g" )
126126 [[ " $ID " == " " ]] && { echo " failed to get ID" ; return 1; }
127127 mkdir -p data/appdata_${ID} /theming/images
128- cp /usr/local/etc/logo /usr/local/etc/background data/appdata_${ID} /theming/images
128+ cp /usr/local/etc/background data/appdata_${ID} /theming/images
129+ cp /usr/local/etc/logo data/appdata_${ID} /theming/images/logo
130+ cp /usr/local/etc/logo data/appdata_${ID} /theming/images/logoheader
129131 chown -R www-data:www-data data/appdata_${ID}
130132 }
131133
Original file line number Diff line number Diff line change 11
2- [ v1.18.2] ( https://github.com/nextcloud/nextcloudpi/commit/b737569 ) (2019-11-18) ncp-app: bump to NC17
2+ [ v1.19.0] ( https://github.com/nextcloud/nextcloudpi/commit/c8e296c ) (2019-11-30) upgrade to NC17.0.1
3+
4+ [ v1.18.2 ] ( https://github.com/nextcloud/nextcloudpi/commit/0fc4aea ) (2019-11-18) ncp-app: bump to NC17
35
46[ v1.18.1 ] ( https://github.com/nextcloud/nextcloudpi/commit/e975320 ) (2019-11-18) Letsencrypt: support second domain (#1025 )
57
Original file line number Diff line number Diff line change 99 {
1010 " id" : " VER" ,
1111 " name" : " Version" ,
12- " value" : " 16 .0.5 "
12+ " value" : " 17 .0.1 "
1313 },
1414 {
1515 " id" : " BETA" ,
Original file line number Diff line number Diff line change 11{
2- " nextcloud_version" : " 16 .0.5 " ,
2+ " nextcloud_version" : " 17 .0.1 " ,
33 " php_version" : " 7.3" ,
44 " release" : " buster"
55}
Original file line number Diff line number Diff line change @@ -18,6 +18,16 @@ source /usr/local/etc/library.sh # sets NCVER PHPVER RELEASE
1818 }
1919}
2020
21+ # if using NCP original logo, replace with the new version
22+ datadir=$( ncc config:system:get datadirectory)
23+ id=$( grep instanceid /var/www/nextcloud/config/config.php | awk -F " => " ' { print $2 }' | sed " s|[,']||g" )
24+ sum_orig=ca39ff587bd899cb92eb0f5a6d429824
25+ sum_curr=$( md5sum " ${datadir} " /appdata_* /theming/images/logo | awk ' { print $1 }' )
26+ [[ " ${sum_orig} " == " ${sum_curr} " ]] && {
27+ cp etc/logo " ${datadir} /appdata_${id} /theming/images/logo"
28+ cp etc/logo " ${datadir} /appdata_${id} /theming/images/logoheader"
29+ }
30+
2131# docker images only
2232[[ -f /.docker-image ]] && {
2333 :
You can’t perform that action at this time.
0 commit comments