Skip to content

Commit

Permalink
#5 install aur packages with paru
Browse files Browse the repository at this point in the history
  • Loading branch information
reyniersbram committed May 14, 2023
1 parent 20ac9ab commit 3ea068a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Empty file added etc/packages_paru.txt
Empty file.
12 changes: 9 additions & 3 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ echo "Doing a full system upgrade before starting the installation..."
sudo pacman -Syyu

echo "Installing packages required to run the install script..."
required_packages="${current_directory}/etc/required.txt"
if [ -s "$required_packages" ]; then
packages="${current_directory}/etc/required.txt"
if [ -s "$packages" ]; then
# shellcheck disable=SC2024
sudo pacman -S --needed - < "$required_packages"
sudo pacman -S --needed - < "$packages"
fi

# Make sure XDG Base Directory Specification is used
Expand Down Expand Up @@ -58,3 +58,9 @@ if [ -s "$packages" ]; then
# shellcheck disable=SC2024
sudo pacman -S --needed - < "$packages"
fi

packages="${current_directory}/etc/packages_paru.txt"
if [ -s "$packages" ]; then
# shellcheck disable=SC2024
sudo paru -S --needed - < "$packages"
fi

0 comments on commit 3ea068a

Please sign in to comment.