From 131fe2372940b4ef107454e0f1454be7aa08e901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Mon, 20 Mar 2023 19:45:45 +0100 Subject: Document subr.rtl/*.subr functions, pt. II. --- subr.rtl/rtl_install.subr | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'subr.rtl/rtl_install.subr') diff --git a/subr.rtl/rtl_install.subr b/subr.rtl/rtl_install.subr index 5273a5ca..a0a9b8d0 100644 --- a/subr.rtl/rtl_install.subr +++ b/subr.rtl/rtl_install.subr @@ -3,6 +3,14 @@ # set +o errexit -o noglob -o nounset is assumed. # +# +# rtl_install() - install files +# @[-v]: increase verbosity +# @_prefix: installation prefix pathname +# @...: install operation (one of: -* (remove,) !*=* (move/rename,) /=* (create directory/ies,) @*=* (create/update symbolic link,) m[0-7][0-7][0-7][0-7]=* (set mode bits,) o*=* (set user/group owner,) *=* (copy)) +# +# Returns: zero (0) on success, non-zero (>0) on failure +# rtl_install() { local _ri_verbose="" _ri_prefix="" \ _ri_chmod_mode="" _ri_dname="" _ri_file_fname_dst="" _ri_file_fname_src="" \ -- cgit v1.2.3