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 for __cdist_lib in *; do
. "./${__cdist_lib}" . "./${__cdist_lib}"
done done
set +e
#echo $CDIST_CONFIG #echo $CDIST_CONFIG
#echo $CDIST_LIBDIR #echo $CDIST_LIBDIR

View file

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

View file

@ -21,6 +21,7 @@
cdist_explore_pkg_system() 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() cdist_package_install()
{ {
:
} }