Fix install linting

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-09-27 15:24:12 +02:00
parent 4a01cdcb7c
commit 1934482d05
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

View file

@ -244,9 +244,9 @@ if ask_prompt "Do you want to install ${package_count} AUR packages?"; then
fi
# Remove unneeded packages
if ask_prompt "Do you want to remove all unneeded packages?"; then
yay -Rsnu $(comm -23 <(pacman -Qqtt | sort) <(cat "${PACKAGES_DIR}/packages.native.list" "${PACKAGES_DIR}/packages.aur.list" | sort))
fi
#if ask_prompt "Do you want to remove all unneeded packages?"; then
# yay -Rsnu $(comm -23 <(pacman -Qqtt | sort) <(cat "${PACKAGES_DIR}/packages.native.list" "${PACKAGES_DIR}/packages.aur.list" | sort))
#fi
if ask_prompt "Do you want to install ${#NPM_PACKAGES[@]} global npm packages?"; then
print_log "Installing ${#NPM_PACKAGES[@]} packages"