Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=04e101913b3087f227fa3cd5922097022489a8f0
commit 04e101913b3087f227fa3cd5922097022489a8f0 Author: crazy <cr...@frugalware.org> Date: Sun Oct 16 16:58:53 2016 +0200 remove Frcd{2} diff --git a/source/include/util.sh b/source/include/util.sh index 4e997c9..567efee 100644 --- a/source/include/util.sh +++ b/source/include/util.sh @@ -990,7 +990,7 @@ Fbuildsystem_python_setup() { _F_python_install_data_dir="usr/share/" fi - + case "$command" in 'probe') test -f setup.py @@ -1254,47 +1254,6 @@ Fbuild() { } ### -# * Frcd(): Create an rc.d environment. Parameter: name of the rc script, -# defaults to $pkgname. -# -# NOTE: this function is obsolete, work with upstream to provide system -# units out of the box. -### -Frcd() { - if [ "$#" -eq 1 ]; then - Fmessage "Creating rc.d environment: $1" - Fexe /etc/rc.d/rc.$1 - else - # rc script - if [ -z "$_F_rcd_name" ]; then - _F_rcd_name=$pkgname - fi - Frcd "$_F_rcd_name" - fi -} - -### -# * Frcd2(): Create the new rc.d environment. Paramter: name of the rc script, -# defaults to $pkgname. -# -# NOTE: this function is obsolete, work with upstream to provide system -# units out of the box. -### -Frcd2() { - local po rc slang - - rc="$pkgname" ; [ -n "$1" ] && rc="$1" - - Fmessage "Creating new rc.d environment: $rc" - Fexe /etc/rc.d/rc.$rc - for po in $Fsrcdir/rc.$rc-*.po ; do - [ ! -f "$po" ] && continue - slang="`basename "$po" .po | sed "s|rc.$rc-||"`" - Fmsgfmt /lib/initscripts/messages $slang $rc `basename $po .po` - done -} - -### # * build(): just calls Fbuild() ### build() { _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git