soscmd/soscmd-cache-pacman
2023-06-03 11:28:50 +02:00

7 lines
184 B
Bash
Executable file

#!/bin/bash
if [ ! -f "/usr/bin/pacman-key" ]; then
echo ":: Error: You are not running a Arch Linux based distro."
exit 1
fi
pacman -Scc --noconfirm
echo ":: Purged pacman caches."