cleanup.go | 6 ++++++ doc/news.texi | 8 ++++++++ diff --git a/cleanup.go b/cleanup.go index a1448617716f23e95bee53bfa680fc6b29595c07adb20431ac6ad5ae27647e8a..b9f47810a56524638bc709d8c3775639d042dfc2db157dbab7f40622c417015f 100644 --- a/cleanup.go +++ b/cleanup.go @@ -122,6 +122,12 @@ } } else { err = redoDirClean(pth, what) } + } else if (what == CleanupTmp || what == CleanupFull) && + strings.HasPrefix(fi.Name(), TmpPrefix) { + fmt.Println(pthRel) + if !*DryRun { + err = os.RemoveAll(pth) + } } else { err = cleanupWalker(pth, what) } diff --git a/doc/news.texi b/doc/news.texi index ff616c3c4507af69aa6639ba0f367b3266f017026550648f3f1f6d6b610a5e8b..f45817b6fa5cd89dc3cd15c8ac899f57ebaa11ec89e16b335bcf889bffcd1c69 100644 --- a/doc/news.texi +++ b/doc/news.texi @@ -2,6 +2,14 @@ @node News @cindex news @unnumbered News +@anchor{Release 1_24_0} +@section Release 1.24.0 +@itemize +@item + @command{redo-cleanup tmp} also removes temporarily (@code{$3}) + created directories. +@end itemize + @anchor{Release 1_23_0} @section Release 1.23.0 @itemize