Recherche efficace avec "==="
This commit is contained in:
parent
d1e9bd2cf4
commit
cc2954eb70
4 changed files with 74 additions and 72 deletions
|
@ -1,4 +1,6 @@
|
|||
# Configuration des OS
|
||||
> Pour rechercher efficacement, ^F "`===`" recherche catégorie par catégorie.
|
||||
|
||||
## Windows 11
|
||||
Nécessite [W10Privacy](https://www.w10privacy.de/english-home/)
|
||||
- Charger la [configuration](W10Privacy.ini).
|
||||
|
|
60
manjaro.sh
60
manjaro.sh
|
@ -2,23 +2,23 @@
|
|||
|
||||
if grep "MANJARO" /proc/version > /dev/null;
|
||||
then
|
||||
# === Colors yay + pacman ===
|
||||
# === Colors yay + pacman ==
|
||||
sudo sed -i "36s#.*#Color#" /etc/pacman.conf
|
||||
|
||||
# == Intel Driver ==
|
||||
# === Intel Driver ==
|
||||
sudo pacman -S libva-intel-driver --noconfirm # Requirment for HwAcc of Parsec btw
|
||||
|
||||
# == Basic dev ==
|
||||
# === Basic dev ==
|
||||
sudo pacman -S base-devel gdb valgrind --noconfirm
|
||||
|
||||
# === Yay ===
|
||||
# === Yay ==
|
||||
sudo pacman -S yay --noconfirm
|
||||
yay -Y --devel --save # dev package update -> enabled
|
||||
|
||||
# Disable wayland
|
||||
sudo sed -i "6s#.*#WaylandEnable=false#" /etc/gdm/custom.conf
|
||||
|
||||
# === Fish ===
|
||||
# === Fish ==
|
||||
sudo pacman -S fish bat exa micro xclip --noconfirm
|
||||
# Remove motd
|
||||
fish -c "set -U fish_greeting"
|
||||
|
@ -94,11 +94,11 @@ then
|
|||
gsettings set "org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:${profil:2:-2}/" "foreground-color" "rgb(211,208,200)"
|
||||
gsettings set "org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:${profil:2:-2}/" "background-color" "rgb(45,45,45)"
|
||||
|
||||
# == Brave instead of Firefox ==
|
||||
# === Brave instead of Firefox ==
|
||||
yay -S brave-bin --noconfirm
|
||||
sudo pacman -Rsn firefox firefox-gnome-theme-maia --noconfirm # firefox removal
|
||||
|
||||
# == GL4D ==
|
||||
# === GL4D ==
|
||||
sudo pacman -S sdl2_image sdl2_mixer pkg-config automake make autoconf --noconfirm # sdl2_ttf
|
||||
# Download and build
|
||||
git clone https://github.com/noalien/GL4Dummies.git
|
||||
|
@ -124,23 +124,23 @@ then
|
|||
echo -e "\n# GL4Dummies\nset -gx LD_LIBRARY_PATH /usr/local/lib \$LD_LIBRARY_PATH\n" >> "$HOME"/.config/fish/config.fish
|
||||
fi
|
||||
|
||||
# == Latex ==
|
||||
# === Latex ==
|
||||
sudo pacman -S texlive-most python-pygments --noconfirm
|
||||
|
||||
# == Python stuff ==
|
||||
# === Python stuff ==
|
||||
sudo pacman -S python-virtualenv tk --noconfirm
|
||||
|
||||
# == Sign commits ==
|
||||
# === Sign commits ==
|
||||
git config --global commit.gpgsign true
|
||||
|
||||
# == Rust ==
|
||||
# === Rust ==
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
source "$HOME"/.cargo/env
|
||||
# Dev tools
|
||||
rustup component add rust-analysis
|
||||
rustup component add rls
|
||||
|
||||
# == tldr ==
|
||||
# === tldr ==
|
||||
cargo install tealdeer
|
||||
tldr --update
|
||||
# Fish completion
|
||||
|
@ -149,13 +149,13 @@ then
|
|||
wget -q --show-progress "$url" -O completions_fish
|
||||
mv completions_fish ~/.config/fish/completions/tldr.fish
|
||||
|
||||
# == Git LFS ==
|
||||
# === Git LFS ==
|
||||
sudo pacman -S git-lfs --noconfirm
|
||||
|
||||
# == VSCode ==
|
||||
# === VSCode ==
|
||||
yay -S visual-studio-code-bin --noconfirm
|
||||
|
||||
# == Spotify + no-ads mod ==
|
||||
# === Spotify + no-ads mod ==
|
||||
yay -S spotify --noconfirm
|
||||
# Download mod
|
||||
git clone https://github.com/abba23/spotify-adblock.git
|
||||
|
@ -176,19 +176,19 @@ then
|
|||
sudo zip --update xpui.spa xpui.js
|
||||
sudo rm xpui.js
|
||||
|
||||
# == Syncthing ==
|
||||
# === Syncthing ==
|
||||
sudo pacman -S syncthing --noconfirm
|
||||
# Launch it at startup
|
||||
sudo systemctl enable syncthing@"$USER".service
|
||||
sudo systemctl start syncthing@"$USER".service
|
||||
|
||||
# == Discord ==
|
||||
# === Discord ==
|
||||
sudo pacman -S discord --noconfirm
|
||||
|
||||
# == Obsidian ==
|
||||
# === Obsidian ==
|
||||
yay -S obsidian --noconfirm
|
||||
|
||||
# == Flameshot ==
|
||||
# === Flameshot ==
|
||||
sudo pacman -S flameshot xdg-desktop-portal xdg-desktop-portal-gnome --noconfirm
|
||||
# Custom configuration
|
||||
rm "$HOME"/.config/flameshot/flameshot.ini 2> /dev/null
|
||||
|
@ -207,13 +207,13 @@ then
|
|||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ command "flameshot gui" # set command
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ binding "Print" # set key
|
||||
|
||||
# == Parsec ==
|
||||
# === Parsec ==
|
||||
yay -S parsec --noconfirm
|
||||
|
||||
# == Onlyoffice ==
|
||||
# === Onlyoffice ==
|
||||
sudo pacman -S onlyoffice --noconfirm
|
||||
|
||||
# == Emoji picker ==
|
||||
# === Emoji picker ==
|
||||
yay -S x11-emoji-picker-git --noconfirm
|
||||
# Custom configuration
|
||||
rm "$HOME"/.config/gazatu.xyz/emoji-picker.ini 2>/dev/null
|
||||
|
@ -235,7 +235,7 @@ then
|
|||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/x11-emoji-picker/ binding "<Super>period" # set shortcut
|
||||
fi
|
||||
|
||||
# == Gnome configuration ==
|
||||
# === Gnome configuration ==
|
||||
# Nautilus keybinding
|
||||
CUSTOM_KEYBINDINGS_LIST=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings)
|
||||
if [[ $CUSTOM_KEYBINDINGS_LIST == "@as []" ]] # creating new list if not exists
|
||||
|
@ -269,22 +269,22 @@ then
|
|||
# Thumbnails nautilus
|
||||
gsettings set org.gnome.nautilus.preferences show-image-thumbnails 'always'
|
||||
|
||||
# == Clipboard history ==
|
||||
# === Clipboard history ==
|
||||
sudo pacman -S copyq --noconfirm
|
||||
copyq > /dev/null & disown
|
||||
copyq config autostart true
|
||||
|
||||
# == Signal ==
|
||||
# === Signal ==
|
||||
sudo pacman -S signal-desktop --noconfirm
|
||||
|
||||
# == Paint ==
|
||||
# === Paint ==
|
||||
sudo pacman -S kolourpaint --noconfirm
|
||||
# Rename icon
|
||||
if [ -f /usr/share/applications/org.kde.kolourpaint.desktop ] ; then
|
||||
sudo sed -i "3s#.*#Name=Paint#" /usr/share/applications/org.kde.kolourpaint.desktop
|
||||
fi
|
||||
|
||||
# == Emojis ==
|
||||
# === Emojis ==
|
||||
sudo pacman -S noto-fonts-emoji --noconfirm
|
||||
sudo echo "<?xml version=\"1.0\"?>
|
||||
<!DOCTYPE fontconfig SYSTEM \"fonts.dtd\">
|
||||
|
@ -322,13 +322,13 @@ then
|
|||
" | sudo tee /etc/fonts/local.conf
|
||||
fc-cache
|
||||
|
||||
# == Power plan ==
|
||||
# === Power plan ==
|
||||
sudo pacman -S tlp --noconfirm
|
||||
sudo systemctl enable tlp.service
|
||||
sudo systemctl mask systemd-rfkill.service
|
||||
sudo systemctl mask systemd-rfkill.socket
|
||||
|
||||
# == Java ==
|
||||
# === Java ==
|
||||
curl -s "https://get.sdkman.io" | bash
|
||||
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
if [ -x "$HOME"/.config/fish ] ; then
|
||||
|
@ -340,7 +340,7 @@ then
|
|||
sdk install java 17.0.2-tem # https://whichjdk.com/#adoptium-eclipse-temurin
|
||||
echo "y" | sdk upgrade java
|
||||
|
||||
# == MultiMC ==
|
||||
# === MultiMC ==
|
||||
# git clone https://github.com/MultiMC/multimc-pkgbuild.git
|
||||
# cd multimc-pkgbuild || exit
|
||||
# makepkg -si --noconfirm
|
||||
|
|
56
ubuntu.sh
56
ubuntu.sh
|
@ -8,13 +8,13 @@ then
|
|||
which curl &> /dev/null || sudo apt install apt-transport-https curl -y # install curl (along with apt-transport-https) if not already installed
|
||||
which wget &> /dev/null || sudo apt install wget -y # install wget if not already installed
|
||||
|
||||
# == Upgrade and clean already installed packages ==
|
||||
# === Upgrade and clean already installed packages ==
|
||||
sudo apt full-upgrade -y
|
||||
|
||||
# == Basic dev ==
|
||||
# === Basic dev ==
|
||||
sudo apt install build-essential valgrind -y
|
||||
|
||||
# == Fish ==
|
||||
# === Fish ==
|
||||
sudo apt-add-repository ppa:fish-shell/release-3 -y
|
||||
sudo apt install fish fzf bat procps exa micro -y
|
||||
sudo snap install micro --classic
|
||||
|
@ -92,14 +92,14 @@ then
|
|||
gsettings set "org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:${profil:2:-2}/" "foreground-color" "rgb(211,208,200)"
|
||||
gsettings set "org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:${profil:2:-2}/" "background-color" "rgb(45,45,45)"
|
||||
|
||||
# == Brave instead of Firefox ==
|
||||
# === Brave instead of Firefox ==
|
||||
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
|
||||
sudo apt update
|
||||
sudo apt install brave-browser -y
|
||||
sudo snap remove firefox && rm -r "$HOME"/snap/firefox
|
||||
|
||||
# == GL4D ==
|
||||
# === GL4D ==
|
||||
# Installing depedencies
|
||||
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev pkg-config automake make autoconf libtool -y # libsdl2-ttf-dev
|
||||
# Download and build
|
||||
|
@ -123,7 +123,7 @@ then
|
|||
echo -e "\n# GL4Dummies\nset -gx LD_LIBRARY_PATH /usr/local/lib \$LD_LIBRARY_PATH\n" >> "$HOME"/.config/fish/config.fish
|
||||
fi
|
||||
|
||||
# == Latex ==
|
||||
# === Latex ==
|
||||
sudo apt install texlive-full python3-pygments -y
|
||||
# Path where icons are saved
|
||||
pathicons='/usr/share/applications'
|
||||
|
@ -137,13 +137,13 @@ then
|
|||
fi
|
||||
done
|
||||
|
||||
# == Python stuff ==
|
||||
# === Python stuff ==
|
||||
sudo apt install python3-virtualenv python3-tk -y
|
||||
|
||||
# == Sign commits ==
|
||||
# === Sign commits ==
|
||||
git config --global commit.gpgsign true
|
||||
|
||||
# == Rust ==
|
||||
# === Rust ==
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
source "$HOME"/.cargo/env
|
||||
fish -c "fish_add_path $HOME/.cargo/bin"
|
||||
|
@ -151,7 +151,7 @@ then
|
|||
rustup component add rust-analysis
|
||||
rustup component add rls
|
||||
|
||||
# == tldr ==
|
||||
# === tldr ==
|
||||
cargo install tealdeer
|
||||
tldr --update
|
||||
# Fish completion
|
||||
|
@ -160,13 +160,13 @@ then
|
|||
wget -q --show-progress "$url" -O completions_fish
|
||||
mv completions_fish ~/.config/fish/completions/tldr.fish
|
||||
|
||||
# == Git LFS ==
|
||||
# === Git LFS ==
|
||||
sudo apt install git-lfs -y
|
||||
|
||||
# == VSCode ==
|
||||
# === VSCode ==
|
||||
sudo snap install code --classic
|
||||
|
||||
# == Spotify + no-ads mod ==
|
||||
# === Spotify + no-ads mod ==
|
||||
# We make sure that Snap and flatpak versions are uninstalled
|
||||
sudo snap remove spotify 2> /dev/null
|
||||
sudo flatpak uninstall com.spotify.Client 2> /dev/null
|
||||
|
@ -193,7 +193,7 @@ then
|
|||
sudo zip --update xpui.spa xpui.js
|
||||
sudo rm xpui.js
|
||||
|
||||
# == Syncthing ==
|
||||
# === Syncthing ==
|
||||
sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
|
||||
sudo apt update
|
||||
|
@ -207,17 +207,17 @@ then
|
|||
sudo mv /usr/share/applications/syncthing-start.desktop /usr/share/applications/syncthing-start.desktop.bak
|
||||
fi
|
||||
|
||||
# == Discord ==
|
||||
# === Discord ==
|
||||
wget -q --show-progress "https://discord.com/api/download?platform=linux&format=deb" -O discord.deb && sudo apt install ./discord.deb -y && rm discord.deb
|
||||
|
||||
# == Obsidian ==
|
||||
# === Obsidian ==
|
||||
latest=$(wget -qO- https://api.github.com/repos/obsidianmd/obsidian-releases/releases/latest)
|
||||
url=$(grep 'browser_download_url": ".*.snap"' <<< "$latest" | awk '{ print substr ($0, 32 ) }' | awk '{ print substr( $0, 1, length($0)-1 ) }')
|
||||
wget -q --show-progress "$url" -O obsidian.snap
|
||||
sudo snap install --dangerous obsidian.snap
|
||||
rm obsidian.snap
|
||||
|
||||
# == Flameshot ==
|
||||
# === Flameshot ==
|
||||
sudo apt install flameshot -y
|
||||
# Custom configuration
|
||||
rm "$HOME"/.config/flameshot/flameshot.ini 2> /dev/null
|
||||
|
@ -241,15 +241,15 @@ then
|
|||
sudo mv /usr/share/applications/org.flameshot.Flameshot.desktop /usr/share/applications/org.flameshot.Flameshot.desktop.bak
|
||||
fi
|
||||
|
||||
# == Parsec ==
|
||||
# === Parsec ==
|
||||
wget -q --show-progress https://builds.parsec.app/package/parsec-linux.deb -O parsec.deb
|
||||
sudo apt install ./parsec.deb -y
|
||||
rm parsec.deb
|
||||
|
||||
# == Onlyoffice ==
|
||||
# === Onlyoffice ==
|
||||
sudo snap install onlyoffice-desktopeditors
|
||||
|
||||
# == Emoji picker ==
|
||||
# === Emoji picker ==
|
||||
curl https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -s | sh -s -- -y
|
||||
# Remove icon
|
||||
if [ -f /usr/share/applications/x11-emoji-picker.desktop ]
|
||||
|
@ -260,7 +260,7 @@ then
|
|||
rm "$HOME"/.config/gazatu.xyz/emoji-picker.ini 2>/dev/null
|
||||
wget -q --show-progress https://git.kennel.ml/Anri/confOS/raw/branch/main/.config/gazatu.xyz/emoji-picker.ini -P "$HOME"/.config/gazatu.xyz/
|
||||
|
||||
# == Gnome configuration ==
|
||||
# === Gnome configuration ==
|
||||
# Nautilus keybinding
|
||||
CUSTOM_KEYBINDINGS_LIST=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings)
|
||||
if [[ $CUSTOM_KEYBINDINGS_LIST == "@as []" ]] # creating new list if not exists
|
||||
|
@ -288,7 +288,7 @@ then
|
|||
# Dark theme
|
||||
gsettings set org.gnome.desktop.interface gtk-theme "Yaru-dark"
|
||||
|
||||
# == Unused icons ==
|
||||
# === Unused icons ==
|
||||
pathicons='/usr/share/applications'
|
||||
apps=("debian-xterm" "debian-uxterm" "software-properties-drivers" "software-properties-livepatch")
|
||||
# Remove desktop shortcut only if it already exists
|
||||
|
@ -300,11 +300,11 @@ then
|
|||
fi
|
||||
done
|
||||
|
||||
# == Clipboard history ==
|
||||
# === Clipboard history ==
|
||||
sudo apt install gnome-shell-extension-gpaste gnome-shell-extension-prefs -y
|
||||
gnome-extensions enable GPaste@gnome-shell-extensions.gnome.org
|
||||
|
||||
# == Signal ==
|
||||
# === Signal ==
|
||||
wget -O- -q --show-progress https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
|
||||
sudo cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
|
||||
rm signal-desktop-keyring.gpg
|
||||
|
@ -312,14 +312,14 @@ then
|
|||
# Install it
|
||||
sudo apt install signal-desktop -y
|
||||
|
||||
# == Paint ==
|
||||
# === Paint ==
|
||||
sudo snap install kolourpaint
|
||||
# Rename icon
|
||||
if [ -f /var/lib/snapd/desktop/applications/kolourpaint_kolourpaint.desktop ] ; then
|
||||
sudo sed -i "3s#.*#Name=Paint#" /var/lib/snapd/desktop/applications/kolourpaint_kolourpaint.desktop
|
||||
fi
|
||||
|
||||
# == Java ==
|
||||
# === Java ==
|
||||
sudo apt install zip unzip sed -y # sed probably installed but it doesn't cost anything to double-check
|
||||
curl -s "https://get.sdkman.io" | bash
|
||||
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
|
@ -333,7 +333,7 @@ then
|
|||
sdk install java 17.0.2-tem # https://whichjdk.com/#adoptium-eclipse-temurin
|
||||
echo "y" | sdk upgrade java
|
||||
|
||||
# == MultiMC ==
|
||||
# === MultiMC ==
|
||||
# latest=$(wget -qO- https://multimc.org/ | grep "Debian/Ubuntu") # retrieving for the official website
|
||||
# pat='href="(.*)" ' # regex
|
||||
# [[ $latest =~ $pat ]] # Use of REGEX
|
||||
|
@ -345,7 +345,7 @@ then
|
|||
# sudo sed -i "7s#.*#Name=Minecraft#" /usr/share/applications/multimc.desktop
|
||||
# fi
|
||||
|
||||
# == OBS ==
|
||||
# === OBS ==
|
||||
# sudo add-apt-repository ppa:obsproject/obs-studio -y
|
||||
# sudo apt update
|
||||
# sudo apt install ffmpeg obs-studio -y
|
||||
|
|
28
wsl.sh
28
wsl.sh
|
@ -8,13 +8,13 @@ then
|
|||
which curl &> /dev/null || sudo apt install apt-transport-https curl -y # install curl (along with apt-transport-https) if not already installed
|
||||
which wget &> /dev/null || sudo apt install wget -y # install wget if not already installed
|
||||
|
||||
# == Upgrade and clean already installed packages ==
|
||||
# === Upgrade and clean already installed packages ==
|
||||
sudo apt full-upgrade -y
|
||||
|
||||
# == Basic dev ==
|
||||
# === Basic dev ==
|
||||
sudo apt install build-essential valgrind -y
|
||||
|
||||
# == Fish ==
|
||||
# === Fish ==
|
||||
sudo apt-add-repository ppa:fish-shell/release-3 -y
|
||||
sudo apt install fish fzf bat procps exa micro -y
|
||||
cd /usr/local/bin || exit
|
||||
|
@ -80,7 +80,7 @@ then
|
|||
fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && tldr --update'"
|
||||
fish -c "abbr d 'explorer.exe .'"
|
||||
|
||||
# == GL4D ==
|
||||
# === GL4D ==
|
||||
# Installing depedencies
|
||||
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev pkg-config automake make autoconf libtool -y # libsdl2-ttf-dev
|
||||
# Download and build
|
||||
|
@ -104,16 +104,16 @@ then
|
|||
echo -e "\n# GL4Dummies\nset -gx LD_LIBRARY_PATH /usr/local/lib \$LD_LIBRARY_PATH\n" >> "$HOME"/.config/fish/config.fish
|
||||
fi
|
||||
|
||||
# == Latex ==
|
||||
# === Latex ==
|
||||
sudo apt install texlive-full python3-pygments -y
|
||||
|
||||
# == Python stuff ==
|
||||
# === Python stuff ==
|
||||
sudo apt install python3-virtualenv python3-tk -y
|
||||
|
||||
# == Sign commits ==
|
||||
# === Sign commits ==
|
||||
git config --global commit.gpgsign true
|
||||
|
||||
# == Rust ==
|
||||
# === Rust ==
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
source "$HOME"/.cargo/env
|
||||
fish -c "set -Up fish_user_paths ~/.cargo/bin"
|
||||
|
@ -121,7 +121,7 @@ then
|
|||
rustup component add rust-analysis
|
||||
rustup component add rls
|
||||
|
||||
# == tldr ==
|
||||
# === tldr ==
|
||||
cargo install tealdeer
|
||||
tldr --update
|
||||
# Fish completion
|
||||
|
@ -130,10 +130,10 @@ then
|
|||
wget -q --show-progress "$url" -O completions_fish
|
||||
mv completions_fish ~/.config/fish/completions/tldr.fish
|
||||
|
||||
# == Git LFS ==
|
||||
# === Git LFS ==
|
||||
sudo apt install git-lfs -y
|
||||
|
||||
# == Java ==
|
||||
# === Java ==
|
||||
sudo apt install zip unzip sed -y # sed probably installed but it doesn't cost anything to double-check
|
||||
curl -s "https://get.sdkman.io" | bash
|
||||
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
|
@ -147,13 +147,13 @@ then
|
|||
sdk install java 17.0.2-tem # https://whichjdk.com/#adoptium-eclipse-temurin
|
||||
echo "y" | sdk upgrade java
|
||||
|
||||
# == Shared folders ==
|
||||
# === Shared folders ==
|
||||
sudo mkdir /mnt/z && sudo mkdir /mnt/y
|
||||
|
||||
# == Remove SU password ==
|
||||
# === Remove SU password ==
|
||||
sudo sed -i "26s#.*#%sudo ALL=(ALL:ALL) NOPASSWD: ALL#" /etc/sudoers
|
||||
|
||||
# == Update Debian ==
|
||||
# === Update Debian ==
|
||||
# sudo sed -i "s/bullseye/bullseye/g" /etc/apt/sources.list
|
||||
# sudo sed -i "s/bullseye/bullseye/g" /etc/apt/sources.list.d/*.list
|
||||
# Make the update
|
||||
|
|
Loading…
Reference in a new issue