support pacman packaging system

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-19 14:34:11 +02:00
parent d55c5b509f
commit 39d737014d
4 changed files with 5 additions and 7 deletions

View File

@ -33,7 +33,7 @@ cd "${CDIST_LIBDIR}"
for __cdist_lib in *; do
. "./${__cdist_lib}"
done
set +e
#echo $CDIST_CONFIG
#echo $CDIST_LIBDIR

View File

@ -19,8 +19,6 @@
#
#
#reports="hostname os"
. cdist-config
cd ${CDIST_LIBDIR}
@ -29,7 +27,6 @@ for func in cdist_explore_*; do
#func="cdist_explore_$report"
var="__$func"
. "${CDIST_LIBDIR}/${func}"
eval $var=\"\$\($func\)\"
eval echo $var=\\\"\$$var\\\"
done

View File

@ -21,6 +21,7 @@
cdist_explore_pkg_system()
{
# case $(cdist_explore_os)
:
case "$(cdist_explore_os)" in
archlinux) echo pacman ;;
esac
}

View File

@ -21,6 +21,6 @@
cdist_package_install()
{
:
}