diff options
author | CoprDistGit <infra@openeuler.org> | 2023-08-07 13:20:17 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-08-07 13:20:17 +0000 |
commit | 887c4da5a1fc67b3d77a3e024126190bebbc7b65 (patch) | |
tree | badaf59a23676083eacdc8600d4526bd753d4c88 /cargo-config.sh | |
parent | 50b4a3b4549253b7362fd6a55a441e0f59feea2e (diff) |
automatic import of rustopeneuler23.03openeuler22.03_LTS_SP2openeuler20.03
Diffstat (limited to 'cargo-config.sh')
-rw-r--r-- | cargo-config.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cargo-config.sh b/cargo-config.sh new file mode 100644 index 0000000..2338945 --- /dev/null +++ b/cargo-config.sh @@ -0,0 +1,5 @@ +# Copy cargo config from skel if it is not exist +if [ ! -f "$HOME/.cargo/config.toml" ] ; then + mkdir -p $HOME/.cargo + cp -f /etc/skel/.cargo/config.toml $HOME/.cargo +fi |