diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2019-08-14 19:32:42 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2019-08-14 19:32:42 +0000 |
commit | a7bae46ae2f2d73234e7056e9c3993c76e619fb8 (patch) | |
tree | 578c3b545306d136538011da389b5012827eb6ae /distrib/syspatch | |
parent | 9c5dab792fd3a1d1f49d55596f67c018f2a13f1d (diff) |
Clean up clean_old():
* Remove syspatch files from the installed system and not the ramdisk.
* Directly try to remove the old files without superfluous check.
* Use an extended glob to match /usr/lib/gcc-lib contents that don't
belong to this OS version.
* For /usr/lib/clang, set an array to the expansion of the glob, which is
an alphabetically sorted list, drop the last element, and rm the rest.
ok tb@
Diffstat (limited to 'distrib/syspatch')
0 files changed, 0 insertions, 0 deletions