[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 1526ef4 5/5: Experimentally download .zshrc f
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 1526ef4 5/5: Experimentally download .zshrc for centos |
Date: |
Sat, 9 May 2020 15:23:13 -0400 (EDT) |
branch: master
commit 1526ef43fb9b550dd26356cd74d7ad45e361d7eb
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Experimentally download .zshrc for centos
---
install_centos.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/install_centos.sh b/install_centos.sh
index fd140dd..2905d16 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -198,8 +198,15 @@ cp -a /tmp/schroot_env /srv/chroot/centos7lmi/tmp
cp -a ~/.vimrc /srv/chroot/centos7lmi/root/.vimrc
cp -a ~/.vimrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.vimrc
+# Experimentally, instead of this:
+# cp -a ~/.zshrc /srv/chroot/centos7lmi/root/.zshrc
+# cp -a ~/.zshrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.zshrc
+# do this:
+wget -N -nv "${GIT_URL_BASE}"/gwc/.zshrc
cp -a ~/.zshrc /srv/chroot/centos7lmi/root/.zshrc
cp -a ~/.zshrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.zshrc
+# If that works well, then treat vim configuration the same way,
+# here and elsewhere.
cat >/srv/chroot/centos7lmi/etc/schroot/chroot.d/"${CHRTNAME}".conf <<EOF
[${CHRTNAME}]