support pacman packaging system
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
d55c5b509f
commit
39d737014d
4 changed files with 5 additions and 7 deletions
|
@ -33,7 +33,7 @@ cd "${CDIST_LIBDIR}"
|
|||
for __cdist_lib in *; do
|
||||
. "./${__cdist_lib}"
|
||||
done
|
||||
|
||||
set +e
|
||||
|
||||
#echo $CDIST_CONFIG
|
||||
#echo $CDIST_LIBDIR
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
cdist_explore_pkg_system()
|
||||
{
|
||||
# case $(cdist_explore_os)
|
||||
:
|
||||
case "$(cdist_explore_os)" in
|
||||
archlinux) echo pacman ;;
|
||||
esac
|
||||
}
|
||||
|
|
|
@ -21,6 +21,6 @@
|
|||
|
||||
cdist_package_install()
|
||||
{
|
||||
|
||||
:
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue