Welcome to mirror list, hosted at ThFree Co, Russian Federation.

1.30.0.sh « updates - github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 14d901c072431d81e324055b6c7d6a4bac8cbf5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash

set -e

## BACKWARD FIXES ( for older images )

source /usr/local/etc/library.sh # sets NCLATESTVER PHPVER RELEASE

# all images

# make sure these are installed as well in all upgrade paths
apt_install php${PHPVER}-gmp haveged lsb-release php-smbclient exfat-fuse exfat-utils file

# for NC19.0.1
apt_install php-bcmath

## delayed in bg so it does not kill the connection, and we get AJAX response
bash -c "sleep 3; service php${PHPVER}-fpm restart" &>/dev/null &


# docker images only
[[ -f /.docker-image ]] && {
  :
}

# for non docker images
[[ ! -f /.docker-image ]] && {
  :
}

exit 0