ignore error code 1

This commit is contained in:
Mylloon 2023-11-05 21:26:06 +01:00
parent 59faa6eddc
commit 115326aced
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 8 additions and 8 deletions

View file

@ -145,7 +145,7 @@ main() {
# === Rust ==
# Add Cargo packages from Rust
mkdir -p "$HOME"/.cargo/bin
fish -c "fish_add_path $HOME/.cargo/bin"
fish -c "fish_add_path $HOME/.cargo/bin | true"
# Add cargo packages
cargo install cargo-update cargo-cache
@ -363,7 +363,7 @@ main() {
# === Python ==
# Add PIP packages from Python to the path
mkdir "$HOME"/.local/bin
fish -c "fish_add_path /home/anri/.local/bin"
fish -c "fish_add_path /home/anri/.local/bin | true"
# === OCaml ==
# Init Opam and install stuff
@ -374,14 +374,14 @@ main() {
wget -q ${repo}/dotfiles/.ocamlformat -O "$HOME"/.ocamlformat
# Add Opam packages from OCaml
mkdir -p "$HOME"/.opam/default/bin
fish -c "fish_add_path /home/anri/.opam/default/bin"
fish -c "fish_add_path /home/anri/.opam/default/bin | true"
# === Clang ==
wget -q ${repo}/dotfiles/.clang-format -O "$HOME"/.clang-format
# === Perl ==
# Add perl packages to path
fish -c "fish_add_path /usr/bin/vendor_perl"
fish -c "fish_add_path /usr/bin/vendor_perl | true"
# === Discord ==
# Skip update

View file

@ -73,7 +73,7 @@ main() {
# === Rust ==
# Add Cargo packages from Rust
mkdir -p "$HOME"/.cargo/bin
fish -c "fish_add_path $HOME/.cargo/bin"
fish -c "fish_add_path $HOME/.cargo/bin | true"
# Add cargo packages
cargo install cargo-update cargo-cache
@ -165,7 +165,7 @@ main() {
# === Python ==
# Add PIP packages from Python
mkdir "$HOME"/.local/bin
fish -c "fish_add_path $HOME/.local/bin"
fish -c "fish_add_path $HOME/.local/bin | true"
# === OCaml ==
# Init Opam and install stuff
@ -176,7 +176,7 @@ main() {
wget -q ${repo}/dotfiles/.ocamlformat -O "$HOME"/.ocamlformat
# Add Opam packages from OCaml
mkdir -p "$HOME"/.opam/default/bin
fish -c "fish_add_path $HOME/.opam/default/bin"
fish -c "fish_add_path $HOME/.opam/default/bin | true"
# Fix dlllwt_unix_stubs.so shared object file
fish -c "set -Ux CAML_LD_LIBRARY_PATH $(opam var stublibs)"
@ -192,7 +192,7 @@ main() {
# === Perl ==
# Add perl packages to path
fish -c "fish_add_path /usr/bin/vendor_perl"
fish -c "fish_add_path /usr/bin/vendor_perl | true"
# === Emacs ==
mkdir "$HOME"/.emacs.d