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

github.com/nextcloud/univention-app.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-11-24 00:53:13 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-11-24 00:54:34 +0300
commit1c61f74fbd5ceee0a0220ce36372387d872315fb (patch)
treefa2e9aaf789747b919c5d188e661989a96358da4 /restore_data_after_setup
parent2de18a6847a602827936fabcc9f4441ae7a953de (diff)
move config data to permanent subfolder
Diffstat (limited to 'restore_data_after_setup')
-rw-r--r--restore_data_after_setup8
1 files changed, 6 insertions, 2 deletions
diff --git a/restore_data_after_setup b/restore_data_after_setup
index 904bbdf..3021d8a 100644
--- a/restore_data_after_setup
+++ b/restore_data_after_setup
@@ -19,8 +19,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-NC_PERMCONFDIR="/var/lib/univention-appcenter/apps/nextcloud/conf"
-
if [ -e "/var/www/html/config/config.php" ]; then
cp -Ra "/var/www/html/config" "$NC_PERMCONFDIR/"
fi
+
+# changed with the upgrade from Nextcloud 13 to 14.0.4
+# TODO: remove this block once Nc 14 is end of life
+if [ -e "$NC_PERMCONFDIR_OLD/config/config.php" ]; then
+ rm "$NC_PERMCONFDIR_OLD/config/config.php"
+fi