unix-setup.sh: run rustup only if I did not remove rustup from the packages list
This commit is contained in:
parent
0657273747
commit
7090d6bb4f
|
@ -178,7 +178,11 @@ function home_manager_setup() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function run_rustup() {
|
function run_rustup() {
|
||||||
"${HOME}"/.local/scripts/other-common-scripts/rust-manage.sh "${HOME}"/.nix-profile/bin/rustup
|
RUSTUP_PATH="${HOME}"/.nix-profile/bin/rustup
|
||||||
|
|
||||||
|
if [[ -x "${RUSTUP_PATH}" ]]; then
|
||||||
|
"${HOME}"/.local/scripts/other-common-scripts/rust-manage.sh "${HOME}"/.nix-profile/bin/rustup
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
function chsh_to_bash() {
|
function chsh_to_bash() {
|
||||||
if [[ "$(uname -s)" == 'Darwin' ]]; then
|
if [[ "$(uname -s)" == 'Darwin' ]]; then
|
||||||
|
|
Loading…
Reference in New Issue