File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1847,10 +1847,14 @@ printf "%b%s%b\n" "$1" "$2" "$Color_Off"
18471847}
18481848
18491849# Apply patch
1850- # git_apply_patch 15992 server 16.0.2
1850+ # App:
1851+ # git_apply_patch "319" "fulltextsearch_elasticsearch" "27.1.1" "$NCPATH/apps/fulltextsearch_elasticsearch"
1852+ # Server:
1853+ # git_apply_patch "15992" "server" "16.0.2" "$NCPATH"
18511854# 1 = pull
18521855# 2 = repository
1853- # Nextcloud version
1856+ # 3 = Nextcloud version
1857+ # 4 = Folder on system
18541858git_apply_patch () {
18551859if [ -z " $NCVERSION " ]
18561860then
@@ -1860,7 +1864,7 @@ if [[ "$CURRENTVERSION" = "$3" ]]
18601864then
18611865 curl_to_dir " https://patch-diff.githubusercontent.com/raw/nextcloud/${2} /pull" " ${1} .patch" " /tmp"
18621866 install_if_not git
1863- cd " $NCPATH "
1867+ cd " ${4} "
18641868 if git apply --check /tmp/" ${1} " .patch > /dev/null 2>&1
18651869 then
18661870 print_text_in_color " $IGreen " " Applying patch https://github.com/nextcloud/${2} /pull/${1} ..."
You can’t perform that action at this time.
0 commit comments