Fix resolution script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
f450e6bc92
commit
0c519c15fe
2 changed files with 39 additions and 39 deletions
70
install
70
install
|
@ -149,47 +149,47 @@ fi
|
|||
###############################################################################
|
||||
# Install package manager and packages #
|
||||
###############################################################################
|
||||
# print_section "Installing package requirements"
|
||||
# sudo pacman -S sudo ccache git base-devel --noconfirm --needed
|
||||
print_section "Installing package requirements"
|
||||
sudo pacman -S sudo ccache git base-devel --noconfirm --needed
|
||||
|
||||
# print_section "Installing yay"
|
||||
# is_yay_installed=$(command -v yay)
|
||||
print_section "Installing yay"
|
||||
is_yay_installed=$(command -v yay)
|
||||
|
||||
# # Install yay if not already installed
|
||||
# if [ -z "${is_yay_installed}" ]; then
|
||||
# git clone https://aur.archlinux.org/yay.git
|
||||
# (
|
||||
# cd yay || exit
|
||||
# makepkg -si --noconfirm --skippgpcheck
|
||||
# )
|
||||
# rm -rf yay
|
||||
# else
|
||||
# print_log "yay is already installed"
|
||||
# fi
|
||||
# Install yay if not already installed
|
||||
if [ -z "${is_yay_installed}" ]; then
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
(
|
||||
cd yay || exit
|
||||
makepkg -si --noconfirm --skippgpcheck
|
||||
)
|
||||
rm -rf yay
|
||||
else
|
||||
print_log "yay is already installed"
|
||||
fi
|
||||
|
||||
# print_section "Installing native packages"
|
||||
# # List created using: yay -Qqen > packages.native.list
|
||||
# package_count=$(< "${PACKAGES_DIR}/packages.native.list" wc -l)
|
||||
# print_log "Installing ${package_count} packages"
|
||||
# yay -Syy > /dev/null 2>&1
|
||||
# yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.native.list"
|
||||
print_section "Installing native packages"
|
||||
# List created using: yay -Qqen > packages.native.list
|
||||
package_count=$(< "${PACKAGES_DIR}/packages.native.list" wc -l)
|
||||
print_log "Installing ${package_count} packages"
|
||||
yay -Syy > /dev/null 2>&1
|
||||
yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.native.list"
|
||||
|
||||
# print_section "Installing Rust toolchain and components"
|
||||
# rustup toolchain install beta
|
||||
# rustup default beta
|
||||
# rustup component add "${RUST_COMPONENTS[@]}"
|
||||
# rustup default beta
|
||||
print_section "Installing Rust toolchain and components"
|
||||
rustup toolchain install beta
|
||||
rustup default beta
|
||||
rustup component add "${RUST_COMPONENTS[@]}"
|
||||
rustup default beta
|
||||
|
||||
# print_section "Installing AUR packages"
|
||||
# package_count=$(< "${PACKAGES_DIR}/packages.aur.list" wc -l)
|
||||
# # List created using: yay -Qqem > packages.aur.list
|
||||
# print_log "Installing ${package_count} packages"
|
||||
# yay -Syy > /dev/null 2>&1
|
||||
# yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.aur.list"
|
||||
print_section "Installing AUR packages"
|
||||
package_count=$(< "${PACKAGES_DIR}/packages.aur.list" wc -l)
|
||||
# List created using: yay -Qqem > packages.aur.list
|
||||
print_log "Installing ${package_count} packages"
|
||||
yay -Syy > /dev/null 2>&1
|
||||
yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.aur.list"
|
||||
|
||||
# print_section "Installing global npm packages"
|
||||
# print_log "Installing ${#NPM_PACKAGES[@]} packages"
|
||||
# npm i -g "${NPM_PACKAGES[@]}"
|
||||
print_section "Installing global npm packages"
|
||||
print_log "Installing ${#NPM_PACKAGES[@]} packages"
|
||||
npm i -g "${NPM_PACKAGES[@]}"
|
||||
|
||||
###############################################################################
|
||||
# Creating directories #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue