summarylogtreecommitdiffstats
path: root/shortcut-c-client.patch
diff options
context:
space:
mode:
authorJoost Bremmer2022-08-06 16:41:29 +0200
committerJoost Bremmer2022-08-06 16:41:29 +0200
commit8ca5b480744dd54ce311b6f952d755a85286f11d (patch)
tree88096cc332d7edc7064e0d0898b7f8a333a38ec6 /shortcut-c-client.patch
parentec709fee009f24d33d4792d2f47f684661e20222 (diff)
downloadaur-8ca5b480744dd54ce311b6f952d755a85286f11d.tar.gz
Update package to version 0.2.0
Diffstat (limited to 'shortcut-c-client.patch')
-rw-r--r--shortcut-c-client.patch21
1 files changed, 11 insertions, 10 deletions
diff --git a/shortcut-c-client.patch b/shortcut-c-client.patch
index f47bbe6f1cee..fde26211f147 100644
--- a/shortcut-c-client.patch
+++ b/shortcut-c-client.patch
@@ -1,15 +1,16 @@
Only in old: .git
+Only in old: .github
Only in old: .gitignore
Only in new: old
diff -aur old/shortcut.c new/shortcut.c
---- old/shortcut.c 2020-04-04 23:59:27.301091762 +0200
-+++ new/shortcut.c 2020-04-05 00:01:08.758271659 +0200
-@@ -28,7 +28,7 @@
-
- #define VERSION "0.1.0"
+--- old/shortcut.c 2022-08-06 16:11:39.356002537 +0200
++++ new/shortcut.c 2022-08-06 16:14:07.570579912 +0200
+@@ -35,7 +35,7 @@
#define BUFFER_SIZE 1000
--#define PAGES_BASE_DIR "/opt/shortcut/pages/"
-+#define PAGES_BASE_DIR "/usr/share/shortcut/pages/"
- #define PAGES_FILE_EXT ".md"
-
- #define ANSI_COLOR_RESET_FG "\x1b[39m"
+
+ #ifndef PAGES_DIR
+- #define PAGES_BASE_DIR "/opt/shortcut/pages/"
++ #define PAGES_BASE_DIR "/usr/share/shortcut/pages/"
+ #else
+ #define PAGES_BASE_DIR PAGES_DIR
+ #endif