initial submit of type __package_emerge_dependencies
This commit is contained in:
parent
f955191d77
commit
c48f31389f
5 changed files with 77 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -x /usr/bin/flaggie ]; then
|
||||
echo "true"
|
||||
else
|
||||
echo "false"
|
||||
fi
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -x /usr/bin/q ]; then
|
||||
echo "true"
|
||||
else
|
||||
echo "false"
|
||||
fi
|
15
cdist/conf/type/__package_emerge_dependencies/gencode-remote
Normal file
15
cdist/conf/type/__package_emerge_dependencies/gencode-remote
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
gentoolkit_installed="$(cat "$__object/explorer/gentoolkit_installed")"
|
||||
flaggie_installed="$(cat "$__object/explorer/flaggie_installed")"
|
||||
|
||||
if [ "${gentoolkit_installed}" != "true" ]; then
|
||||
# emerge app-portage/gentoolkit
|
||||
echo "emerge app-portage/gentoolkit &> /dev/null || exit 1"
|
||||
fi
|
||||
|
||||
if [ "${flaggie_installed}" != "true" ]; then
|
||||
# emerge app-portage/flaggie
|
||||
echo "emerge app-portage/flaggie &> /dev/null || exit 1"
|
||||
fi
|
||||
|
48
cdist/conf/type/__package_emerge_dependencies/man.text
Normal file
48
cdist/conf/type/__package_emerge_dependencies/man.text
Normal file
|
@ -0,0 +1,48 @@
|
|||
cdist-type__package_emerge_dependencies(7)
|
||||
==========================================
|
||||
Thomas Oettli <otho--@--sfs.biz>
|
||||
|
||||
|
||||
NAME
|
||||
----
|
||||
cdist-type__package_emerge_dependencies - Install dependencies for __package_emerge
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
Portage is usually used on the gentoo distribution to manage packages.
|
||||
This type installs the following tools which are required by __package_emerge to work:
|
||||
app-portage/flaggie
|
||||
app-portage/gentoolkit
|
||||
|
||||
|
||||
REQUIRED PARAMETERS
|
||||
-------------------
|
||||
None
|
||||
|
||||
|
||||
OPTIONAL PARAMETERS
|
||||
-------------------
|
||||
None
|
||||
|
||||
|
||||
EXAMPLES
|
||||
--------
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
# Ensure app-portage/flaggie and app-portage/gentoolkit are installed
|
||||
__package_emerge_dependencies
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
SEE ALSO
|
||||
--------
|
||||
- cdist-type(7)
|
||||
- cdist-type__package(7)
|
||||
- cdist-type__package_emerge(7)
|
||||
|
||||
|
||||
COPYING
|
||||
-------
|
||||
Copyright \(C) 2013 Thomas Oettli. Free use of this software is
|
||||
granted under the terms of the GNU General Public License version 3 (GPLv3).
|
0
cdist/conf/type/__package_emerge_dependencies/singleton
Normal file
0
cdist/conf/type/__package_emerge_dependencies/singleton
Normal file
Loading…
Reference in a new issue