rofs-filtered: fix configuration loading

This commit is contained in:
Đoàn Trần Công Danh 2022-09-06 00:08:17 +07:00
parent f8e77843b2
commit 3c6857ccd9
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- a/rofs-filtered.c
+++ b/rofs-filtered.c
@@ -136,7 +136,7 @@ enum {
#ifdef SYSCONF_DIR
-char *default_config_file = STR(SYSCONF_DIR) "/rofs-filtered.rc";
+char *default_config_file = SYSCONF_DIR "/rofs-filtered.rc";
#else
char *default_config_file = "/etc/rofs-filtered.rc";
#endif

View file

@ -1,7 +1,7 @@
# Template file for 'rofs-filtered'
pkgname=rofs-filtered
version=1.7
revision=2
revision=3
wrksrc="${pkgname}-rel-${version}"
build_style=cmake
makedepends="fuse-devel"