]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Adding creating Bash conf
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 2 May 2018 11:19:54 +0000 (13:19 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 2 May 2018 11:19:54 +0000 (13:19 +0200)
bin/postinst

index c1041010c8924e76f17c0ed83d0e89acf69c60b0..d5ef4971c0391c0d1f7fd3caa7757e982a8a5f91 100644 (file)
@@ -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}"
+
 }
 
 #-----------------------------------------------------------