diff options
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 |