This repository was archived by the owner on Aug 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -615,6 +615,18 @@ install_components() {
615615 # Decide the destination of the file
616616 local _file_install_path=" $_dest_prefix /$_file "
617617
618+ if echo " $_file " | grep " ^etc/" > /dev/null
619+ then
620+ local _f=" $( echo " $_file " | sed ' s/^etc\///' ) "
621+ _file_install_path=" $CFG_SYSCONFDIR /$_f "
622+ fi
623+
624+ if echo " $_file " | grep " ^bin/" > /dev/null
625+ then
626+ local _f=" $( echo " $_file " | sed ' s/^bin\///' ) "
627+ _file_install_path=" $CFG_BINDIR /$_f "
628+ fi
629+
618630 if echo " $_file " | grep " ^lib/" > /dev/null
619631 then
620632 local _f=" $( echo " $_file " | sed ' s/^lib\///' ) "
854866valopt without " " " comma-separated list of components to not install"
855867valopt components " " " comma-separated list of components to install"
856868flag list-components " list available components"
869+ valopt sysconfdir " /etc" " install system configuration files"
870+ valopt bindir " $CFG_DESTDIR_PREFIX /bin" " install binaries"
857871valopt libdir " $CFG_DESTDIR_PREFIX /lib" " install libraries"
858872valopt mandir " $CFG_DESTDIR_PREFIX /share/man" " install man pages in PATH"
859873# NB See the docdir handling in install_components for an explanation of this
You can’t perform that action at this time.
0 commit comments