From: Frank Brehm Date: Wed, 2 May 2018 11:19:54 +0000 (+0200) Subject: Adding creating Bash conf X-Git-Tag: 0.1.1~6^2 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=d12efd0471d2a02869b4aa167ff7247b6873b3cf;p=pixelpark%2Fcreate-vmware-tpl.git Adding creating Bash conf --- diff --git a/bin/postinst b/bin/postinst index c104101..d5ef497 100644 --- a/bin/postinst +++ b/bin/postinst @@ -391,6 +391,17 @@ install_pp_tcsh_env() { fi rm -fv "${local_tar}" + echo + echo "${HASH_LINE}" + echo + log "Pulling BASH config .." + + url="${COBBLER_URL}/custom/create-vmware-tpl/files/fbr.sh" + local tgt="/etc/profile.d/fbr.sh" + echo "Retrieving '${url}' -> '${tgt}' ..." + wget -O "${tgt}" --dns-timeout=2 --connect-timeout=3 --read-timeout=3 "${url}" || true + chmod -v 0644 "${tgt}" + } #-----------------------------------------------------------