diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-07-29 20:27:12 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-11-20 22:53:31 -0500 |
commit | d86e5248e59c8b90ad102331f8c970e474f92895 (patch) | |
tree | fbc4de7ce4de62e8a21a2f5a2f6e03591d556997 /src/librefetch/librefetch-install | |
parent | 48cacf8a34bbc9e7067190f8a250f85c963e52d9 (diff) |
update docs
Diffstat (limited to 'src/librefetch/librefetch-install')
-rwxr-xr-x | src/librefetch/librefetch-install | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/librefetch/librefetch-install b/src/librefetch/librefetch-install index 5f4fd82..a582b43 100755 --- a/src/librefetch/librefetch-install +++ b/src/librefetch/librefetch-install @@ -1,5 +1,6 @@ #!/usr/bin/env bash -# lirefetch-install: (un)install librefetch to /etc/makepkg.conf +# +# lirefetch-install: uninstall librefetch from /etc/makepkg.conf # # Copyright (C) 2013-2015, 2017 Luke Shumaker <lukeshu@parabola.nu> # @@ -19,6 +20,23 @@ # # You should have received a copy of the GNU General Public License # along with Parabola. If not, see <http://www.gnu.org/licenses/>. +# +# +# NOTE: primarily, this is called by the libretools.install hooks +# +# NOTE: this script originally accepted an 'install' option to munge makepkg.conf in place +# by the libretools.install hooks +# that behavior was replaced by the runtime script: /etc/makepkg.d/librefetch.conf +# (source: libretools::src/librefetch/makepkg-librefetch.conf.in), +# which must be sourced by makepkg.conf in order to enable mksource() handling +# (see `man librefetch`) +# +# note that this is not the 'librefetch.conf' sourced by librefetch and librestage +# (see `man 5 librefetch.conf`) +# that one is: /etc/libretools.d/librefetch.conf +# (source: libretools::src/librefetch/librefetch.conf) +# TODO: one of those should be renamed, to avoid the name collision/confusion + set -ueE |