Skip to content

doc: Use ~ instead of /home/$USER #1619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ Changes to individual options
.. _cachedir_option_conf_changes_ref-label:

``cachedir``
* The default user cached dir is now at ``/home/$USER/.cache/libdnf5``.
* The default user cached dir is now at ``~/.cache/libdnf5``.
* The default root cache directory, configured by the ``system_cachedir`` option, is now ``/var/cache/libdnf5``.
* Users no longer access the root's cache directly; instead, metadata is copied to the user's location if it's empty or invalid.
* For additional information, refer to the :ref:`Caching <caching_misc_ref-label>` man page.
Expand Down
4 changes: 2 additions & 2 deletions doc/dnf5.conf.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ repository configuration file should aside from repo ID consists of baseurl, met
Has a reasonable root-writable default depending on the distribution. DNF5
needs to be able to create files and directories at this location.

Regular user default: ``/home/$USER/.cache/libdnf5``.
Regular user default: ``~/.cache/libdnf5``.

For superuser the value is overwritten by :ref:`system_cachedir <_system_cachedir_options-label>` option.

Expand Down Expand Up @@ -259,7 +259,7 @@ repository configuration file should aside from repo ID consists of baseurl, met

Directory where the log files will be stored.

Regular user default: ``/home/$USER/.local/state``.
Regular user default: ``~/.local/state``.

Superuser default: ``/var/log``.

Expand Down
2 changes: 1 addition & 1 deletion doc/misc/caching.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Following directory structure illustrates a typical DNF5 cache directory:
└── updates.solv

The default root cache directory is ``/var/cache/libdnf5``, but when DNF5 runs as another user,
it uses the cache from ``/home/$USER/.cache/libdnf5`` with the same structure. The root cache
it uses the cache from ``~/.cache/libdnf5`` with the same structure. The root cache
directory can be redefined using the ``system_cachedir`` configuration option, and the user
cachedir with the ``cachedir`` option.

Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial/plugins/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Debugging Tips

To test your freshly built DNF5 Plugin, redirect DNF5 to load it by setting
the ``DNF5_PLUGINS_DIR`` environmental variable to your build directory (e.g.,
``DNF5_PLUGINS_DIR=/home/user/dnf5/build/dnf5-plugins/template_plugin``).
``DNF5_PLUGINS_DIR=~/dnf5/build/dnf5-plugins/template_plugin``).

Speaking about LIBDNF5 Plugins, utilize the ``LIBDNF_PLUGINS_CONFIG_DIR``
environmental variable to configure the directory with the plugin's configuration.
Expand Down
Loading