From: Frank Terbeck Date: Sun, 16 Sep 2007 11:06:57 +0000 (+0200) Subject: lsb-functions: removed get_libdir() X-Git-Tag: 0.3.27~11 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=dbaff94a20f3c2e2a50753b0a3e9e5ba6d5d5fdc;p=grml-etc-core.git lsb-functions: removed get_libdir() --- diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index 42e89fb..cba2ad8 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -204,19 +204,6 @@ get_bootconfig() { return 0 } -# void get_libdir(void) -# -# prints the current libdir {lib,lib32,lib64} -# -get_libdir() { - if [ -n "${CONF_LIBDIR_OVERRIDE}" ] ; then - CONF_LIBDIR="${CONF_LIBDIR_OVERRIDE}" - elif [ -x "/usr/bin/portageq" ] ; then - CONF_LIBDIR="$(/usr/bin/portageq envvar CONF_LIBDIR)" - fi - printf '%s\n' ${CONF_LIBDIR:=lib} -} - # void esyslog(char* priority, char* tag, char* message) # # use the system logger to log a message