cdist/cdist/conf/type/__apt_source/files/source.list.template
Steven Armstrong 03ce5a2828 import __apt_* types from private repo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-02-04 12:24:10 +01:00

15 lines
266 B
Bash
Executable file

#!/bin/sh
set -u
entry="$uri $distribution $component"
cat << DONE
# Created by cdist ${__type##*/}
# Do not change. Changes will be overwritten.
#
# $name
deb ${forcedarch} $entry
DONE
if [ -f "$__object/parameter/include-src" ]; then
echo "deb-src $entry"
fi