File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -615,6 +615,18 @@ install_components() {
615
615
# Decide the destination of the file
616
616
local _file_install_path=" $_dest_prefix /$_file "
617
617
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
+
618
630
if echo " $_file " | grep " ^lib/" > /dev/null
619
631
then
620
632
local _f=" $( echo " $_file " | sed ' s/^lib\///' ) "
854
866
valopt without " " " comma-separated list of components to not install"
855
867
valopt components " " " comma-separated list of components to install"
856
868
flag list-components " list available components"
869
+ valopt sysconfdir " /etc" " install system configuration files"
870
+ valopt bindir " $CFG_DESTDIR_PREFIX /bin" " install binaries"
857
871
valopt libdir " $CFG_DESTDIR_PREFIX /lib" " install libraries"
858
872
valopt mandir " $CFG_DESTDIR_PREFIX /share/man" " install man pages in PATH"
859
873
# 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