From b3fa09e922d4d24d7370165d9f73109a2f33b95d Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Thu, 15 Oct 2020 11:07:11 +0200 Subject: prtwash: replace .md5sum with .signature --- prtwash | 6 +++--- prtwash.1 | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/prtwash b/prtwash index 540fbc9..91bbd8f 100755 --- a/prtwash +++ b/prtwash @@ -23,7 +23,7 @@ # execution would be useful. # -VERSION="0.7" +VERSION="0.8" CONFIGFILE="/etc/prt-get.conf" usage() { @@ -157,7 +157,7 @@ wash() { if [ ! "$removeaddonfiles" = 1 ]; then # keep additional and dot files - tosave=( "${tosave[@]}" ".md5sum" ) + tosave=( "${tosave[@]}" ".signature" ) tosave=( "${tosave[@]}" ".32bit" ) tosave=( "${tosave[@]}" ".footprint" ) tosave=( "${tosave[@]}" ".nostrip" ) @@ -187,7 +187,7 @@ wash() { done fi - for f in "$1"/{*,.footprint,.md5sum,.32bit}; do + for f in "$1"/{*,.footprint,.signature,.32bit}; do if ! keep $f; then remove $f fi diff --git a/prtwash.1 b/prtwash.1 index 0396678..6355f27 100644 --- a/prtwash.1 +++ b/prtwash.1 @@ -1,5 +1,5 @@ ." Text automatically generated by txt2man-1.4.7 -.TH prtwash 1 "September 18, 2009" "prtwash 0.7" "" +.TH prtwash 1 "October 15, 2020" "prtwash 0.8" "" .SH NAME \fBprtwash \fP- a script to clean the port dirs in CRUX Linux. \fB @@ -27,7 +27,7 @@ The sources (as stated in the Pkgfile) .IP \(bu 3 The built package .IP \(bu 3 -The .md5sum, .footprint, .32bit and .nostrip files +The .signature, .footprint, .32bit and .nostrip files .IP \(bu 3 Additional files: README, FAQ, pre-install, post-install .PP @@ -47,7 +47,7 @@ also removes the sources .TP .B -d -also remove the additional files: .md5sum, .footprint, .32bit +also remove the additional files: .signature, .footprint, .32bit README, FAQ, pre/post-install .TP .B @@ -83,7 +83,7 @@ and built packages from the entire port tree .B \fBprtwash\fP -a -p -s -d same as tha above, but also -removes .md5sum, .footprint, README, etc +removes .signature, .footprint, README, etc .TP .B \fBprtwash\fP -p -s /usr/ports/contrib/sitecopy -- cgit v1.2.3