11 lines
233 B
Bash
Executable File
11 lines
233 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Removing unused Flatpak runtimes..."
|
|
flatpak uninstall --unused -y --noninteractive
|
|
|
|
if command -v paccache &>/dev/null; then
|
|
echo "Trimming pacman package cache..."
|
|
sudo paccache -rk2
|
|
sudo paccache -ruk0
|
|
fi
|