mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-24 12:29:44 +00:00
Change wget to curl
This commit is contained in:
parent
a9424369b0
commit
d4c17b194e
|
@ -21,8 +21,8 @@ setupAlacritty() {
|
|||
cp -r "${HOME}/.config/alacritty" "${HOME}/.config/alacritty-bak"
|
||||
fi
|
||||
mkdir -p "${HOME}/.config/alacritty/"
|
||||
wget -O "${HOME}/.config/alacritty/alacritty.toml" "https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/alacritty/alacritty.toml"
|
||||
wget -O "${HOME}/.config/alacritty/nordic.toml" "https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/alacritty/nordic.toml"
|
||||
curl -sSLo "${HOME}/.config/alacritty/alacritty.toml" "https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/alacritty/alacritty.toml"
|
||||
curl -sSLo "${HOME}/.config/alacritty/nordic.toml" "https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/alacritty/nordic.toml"
|
||||
}
|
||||
|
||||
checkEnv
|
||||
|
|
|
@ -55,7 +55,7 @@ install_nerd_font() {
|
|||
# Check if the font zip file already exists
|
||||
if [ ! -f "$FONT_ZIP" ]; then
|
||||
# Download the font zip file
|
||||
wget -P "$FONT_DIR" "$FONT_URL" || {
|
||||
curl -sSLo "$FONT_ZIP" "$FONT_URL" || {
|
||||
echo "Failed to download Meslo Nerd-fonts from $FONT_URL"
|
||||
return 1
|
||||
}
|
||||
|
@ -302,4 +302,4 @@ setupDWM
|
|||
makeDWM
|
||||
install_nerd_font
|
||||
clone_config_folders
|
||||
configure_backgrounds
|
||||
configure_backgrounds
|
|
@ -21,8 +21,8 @@ setupKitty() {
|
|||
cp -r "${HOME}/.config/kitty" "${HOME}/.config/kitty-bak"
|
||||
fi
|
||||
mkdir -p "${HOME}/.config/kitty/"
|
||||
wget -O "${HOME}/.config/kitty/kitty.conf" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/kitty/kitty.conf
|
||||
wget -O "${HOME}/.config/kitty/nord.conf" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/kitty/nord.conf
|
||||
curl -sSLo "${HOME}/.config/kitty/kitty.conf" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/kitty/kitty.conf
|
||||
curl -sSLo "${HOME}/.config/kitty/nord.conf" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/kitty/nord.conf
|
||||
}
|
||||
|
||||
checkEnv
|
||||
|
|
|
@ -21,13 +21,13 @@ setupRofi() {
|
|||
cp -r "$HOME/.config/rofi" "$HOME/.config/rofi.bak"
|
||||
fi
|
||||
mkdir -p "$HOME/.config/rofi"
|
||||
wget -O "$HOME/.config/rofi/powermenu.sh" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/powermenu.sh
|
||||
curl -sSLo "$HOME/.config/rofi/powermenu.sh" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/powermenu.sh
|
||||
chmod +x "$HOME/.config/rofi/powermenu.sh"
|
||||
wget -O "$HOME/.config/rofi/config.rasi" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/config.rasi
|
||||
curl -sSLo "$HOME/.config/rofi/config.rasi" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/config.rasi
|
||||
mkdir -p "$HOME/.config/rofi/themes"
|
||||
wget -O "$HOME/.config/rofi/themes/nord.rasi" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/themes/nord.rasi
|
||||
wget -O "$HOME/.config/rofi/themes/sidetab-nord.rasi" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/themes/sidetab-nord.rasi
|
||||
wget -O "$HOME/.config/rofi/themes/powermenu.rasi" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/themes/powermenu.rasi
|
||||
curl -sSLo "$HOME/.config/rofi/themes/nord.rasi" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/themes/nord.rasi
|
||||
curl -sSLo "$HOME/.config/rofi/themes/sidetab-nord.rasi" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/themes/sidetab-nord.rasi
|
||||
curl -sSLo "$HOME/.config/rofi/themes/powermenu.rasi" https://github.com/ChrisTitusTech/dwm-titus/raw/main/config/rofi/themes/powermenu.rasi
|
||||
}
|
||||
|
||||
checkEnv
|
||||
|
|
|
@ -85,7 +85,7 @@ mkdir -p "$mods_path"
|
|||
|
||||
# Download the latest release
|
||||
echo "Downloading the latest loot filter..."
|
||||
wget -q --show-progress https://github.com/ChrisTitusTech/d2r-loot-filter/releases/latest/download/lootfilter.zip -O /tmp/lootfilter.zip
|
||||
curl -sSLo /tmp/lootfilter.zip https://github.com/ChrisTitusTech/d2r-loot-filter/releases/latest/download/lootfilter.zip
|
||||
|
||||
# Extract the contents to the mods folder
|
||||
echo "Extracting loot filter to $mods_path..."
|
||||
|
|
|
@ -38,8 +38,7 @@ install_additional_dependencies() {
|
|||
cut -d '/' --fields=3)
|
||||
|
||||
version_no_v=$(echo "$version" | tr -d v)
|
||||
wget "https://github.com/lutris/lutris/releases/download/${version}/lutris_${version_no_v}_all.deb"
|
||||
|
||||
curl -sSLo "lutris_${version_no_v}_all.deb" "https://github.com/lutris/lutris/releases/download/${version}/lutris_${version_no_v}_all.deb"
|
||||
# Install the downloaded .deb package using apt-get
|
||||
echo "Installing lutris_${version_no_v}_all.deb"
|
||||
$ESCALATION_TOOL apt-get update
|
||||
|
|
Loading…
Reference in New Issue
Block a user