mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 04:56:58 +02:00
enter_chroot: remove subversion config goo
We do not have any svn based live ebuilds that require credentials which I presume is the only reason for shuffling svn configs like this.
This commit is contained in:
parent
db734ea417
commit
611ed7698e
@ -316,21 +316,6 @@ setup_env() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -d "$SUDO_HOME/.subversion" ]]; then
|
||||
TARGET="/home/${SUDO_USER}/.subversion"
|
||||
setup_mount "${SUDO_HOME}/.subversion" "--bind" "${TARGET}"
|
||||
# Symbolic-link the .subversion directory so sandboxed subversion.class
|
||||
# clients can use it.
|
||||
for d in \
|
||||
"${FLAGS_cache_dir}"/distfiles/{host,target}/svn-src/"${SUDO_USER}"; do
|
||||
if [[ ! -L "${d}/.subversion" ]]; then
|
||||
rm -rf "${d}/.subversion"
|
||||
user_mkdir "${d}"
|
||||
user_symlink /home/${SUDO_USER}/.subversion "${d}/.subversion"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# Mount GnuPG's data directory for signing uploads
|
||||
if [[ -d "$SUDO_HOME/.gnupg" ]]; then
|
||||
debug "Mounting GnuPG"
|
||||
|
Loading…
Reference in New Issue
Block a user