dotfiles/.bin/port-clean
2025-01-05 14:15:46 +01:00

10 lines
199 B
Bash
Executable File

#!/bin/sh -x
cd /usr/ports
doas rm -rf pobj/* plist logs packages bulk update
case "$1" in
-a) doas rm -rf distfiles/* ;;
esac
mkdir -p plist logs packages bulk update
doas make fix-permissions