--- README.md.orig	2025-03-31 16:55:05.000000000 -0500
+++ README.md	2025-04-10 15:01:38.000000000 -0500
@@ -1124,9 +1124,9 @@
 
     See also: [Notes about environment variables](#notes-about-environment-variables)
 1. **System Configuration**:
-    * `/etc/yt-dlp.conf`
-    * `/etc/yt-dlp/config`
-    * `/etc/yt-dlp/config.txt`
+    * `@PREFIX@/etc/yt-dlp.conf`
+    * `@PREFIX@/etc/yt-dlp/config`
+    * `@PREFIX@/etc/yt-dlp/config.txt`
 
 E.g. with the following configuration file, yt-dlp will always extract the audio, not copy the mtime, use a proxy and save all videos under `YouTube` directory in your home directory:
 ```
@@ -1914,8 +1914,8 @@
       * `~/.yt-dlp/plugins/<package name>/yt_dlp_plugins/`
       * `~/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
     * **System Plugins**
-      * `/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/`
-      * `/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
+      * `@PREFIX@/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/`
+      * `@PREFIX@/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
 2. **Executable location**: Plugin packages can similarly be installed in a `yt-dlp-plugins` directory under the executable location (recommended for portable installations):
     * Binary: where `<root-dir>/yt-dlp.exe`, `<root-dir>/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
     * Source: where `<root-dir>/yt_dlp/__main__.py`, `<root-dir>/yt-dlp-plugins/<package name>/yt_dlp_plugins/`
--- yt-dlp.1.orig	2025-03-31 16:55:07.000000000 -0500
+++ yt-dlp.1	2025-04-10 15:01:38.000000000 -0500
@@ -1235,11 +1235,11 @@
 \f[B]System Configuration\f[R]:
 .RS 4
 .IP \[bu] 2
-\f[V]/etc/yt-dlp.conf\f[R]
+\f[V]@PREFIX@/etc/yt-dlp.conf\f[R]
 .IP \[bu] 2
-\f[V]/etc/yt-dlp/config\f[R]
+\f[V]@PREFIX@/etc/yt-dlp/config\f[R]
 .IP \[bu] 2
-\f[V]/etc/yt-dlp/config.txt\f[R]
+\f[V]@PREFIX@/etc/yt-dlp/config.txt\f[R]
 .RE
 .PP
 E.g.
@@ -3317,9 +3317,9 @@
 \f[B]System Plugins\f[R]
 .RS 2
 .IP \[bu] 2
-\f[V]/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/\f[R]
+\f[V]@PREFIX@/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/\f[R]
 .IP \[bu] 2
-\f[V]/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/\f[R]
+\f[V]@PREFIX@/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/\f[R]
 .RE
 .RE
 .IP "2." 3
--- yt_dlp/utils/_utils.py.orig	2025-03-24 19:09:21.000000000 -0500
+++ yt_dlp/utils/_utils.py	2025-03-25 17:59:03.000000000 -0500
@@ -4729,7 +4729,7 @@
 
 def get_system_config_dirs(package_name):
     # /etc/package_name
-    yield os.path.join('/etc', package_name)
+    yield os.path.join('@PREFIX@/etc', package_name)
 
 
 def time_seconds(**kwargs):
