Skip to content

Commit

Permalink
Arch Linux: Add arch-audit and enable pacman hook
Browse files Browse the repository at this point in the history
  • Loading branch information
fhemberger committed Mar 10, 2020
1 parent 6b53210 commit e653877
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup/install-packages.arch.sh
Expand Up @@ -2,6 +2,7 @@

sudo pacman -Syu
sudo pacman -Sy \
arch-audit \
colordiff \
cronie \
dnsutils \
Expand All @@ -12,3 +13,7 @@ sudo pacman -Sy \
unp \
zsh
sudo pkgfile --update

# Install arch-audit pacman hook, scans installed packages for known vulnerabilities:
# https://wiki.archlinux.org/index.php/Pacman#Hooks
sudo curl -sSL -o /usr/share/libalpm/hooks/arch-audit.hook "https://raw.githubusercontent.com/ilpianista/arch-audit/$(arch-audit --version | awk '{ print $2 }')/hooks/arch-audit.hook"

0 comments on commit e653877

Please sign in to comment.