From b0cc6ce1380c31ee1559849c38f5845d645bdfc2 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Sun, 5 Jan 2025 14:15:46 +0100 Subject: [PATCH] Update 2025-01-05 14:15 OpenBSD/amd64-t14 --- .bin/port-clean | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bin/port-clean b/.bin/port-clean index dadca6f..113f478 100755 --- a/.bin/port-clean +++ b/.bin/port-clean @@ -1,6 +1,9 @@ #!/bin/sh -x cd /usr/ports -doas rm -rf pobj/* plist logs packages bulk update distfiles/* +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