i tried to follow jos’s instructions, but ran into a problem:
changed path to /var/www/nextcloud
grabbed the patch there
tried the dry-run in this folder brought:
root@nc:/var/www/nextcloud# sudo patch -p1 --dry-run < 4136.patch
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From b50f9b9aef4c358eeb389c6e5d3b856783622e65 Mon Sep 17 00:00:00 2001
|From: Bjoern Schiessle <bjoern@schiessle.org>
|Date: Mon, 27 Mar 2017 22:03:10 +0200
|Subject: [PATCH 1/8] allow the user to set a expire date for all shares
|
|Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|---
| core/css/share.scss | 4 ++++
| core/js/sharedialogshareelistview.js | 34 ++++++++++++++++++++++++++++++++++
| 2 files changed, 38 insertions(+)
|
|diff --git a/core/css/share.scss b/core/css/share.scss
|index 0e6eb3c..3ca2e4e 100644
|--- a/core/css/share.scss
|+++ b/core/css/share.scss
--------------------------
File to patch:
to me it looks like i’m in the correct folder, since the files here are starting with core/…
i even tried it with the p0 option, same issue
if i get it right, the -p1 option would remove the first part of core/css/share.scss and core/js/sharedialogshareelistview.js respectively, making
css/share.scss and js/sharedialogshareelistview.js
from it. so obviously that would be a problem if i am calling this from /var/www/nextcloud - i should move into the /core directory
but i also have the same issue with the p0 option, which should give the right path from where i’m calling patch