зеркало из https://github.com/nextcloud/container.git
cleanups
This commit is contained in:
Родитель
882fe3316d
Коммит
4bfb28ad75
|
@ -8,7 +8,7 @@ if [[ ! -f ${NEXTCLOUD_BUILD_DIR}/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2 ]]; the
|
|||
wget "https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" -O ${NEXTCLOUD_BUILD_DIR}/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2
|
||||
fi
|
||||
|
||||
echo "Extracting ownCloud ${NEXTCLOUD_VERSION}..."
|
||||
echo "Extracting Nextcloud ${NEXTCLOUD_VERSION}..."
|
||||
tar -xf ${NEXTCLOUD_BUILD_DIR}/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2 --strip=1 -C ${NEXTCLOUD_INSTALL_DIR}
|
||||
rm -rf ${NEXTCLOUD_BUILD_DIR}/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2
|
||||
|
||||
|
|
|
@ -506,8 +506,8 @@ initialize_datadir() {
|
|||
chmod -R 0755 ${NEXTCLOUD_BACKUPS_DIR}
|
||||
chown -R ${NEXTCLOUD_USER}: ${NEXTCLOUD_BACKUPS_DIR}
|
||||
|
||||
# symlink to config/config.php -> ${NEXTCLOUD_CONFIG_DIR}/config.php
|
||||
ln -sf ${NEXTCLOUD_CONFIG_DIR}/config.php ${NEXTCLOUD_INSTALL_DIR}/config/config.php
|
||||
# symlink to config/config.php -> ${NEXTCLOUD_APP_CONFIG}
|
||||
ln -sf ${NEXTCLOUD_APP_CONFIG} ${NEXTCLOUD_INSTALL_DIR}/config/config.php
|
||||
}
|
||||
|
||||
initialize_system() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче