例如,本地保存了很多旧distfiles,现在下载了新的ports代码
ports里面 firefox 版本是20了,build过程会自动下载新的distfiles,所以distfiles 中的firefox 15就没有存在的必要了。
有啥命令,自动清除ports不再需要的distfiles文件?
OpenBSD如何删除不再需要的distfiles
Re: OpenBSD如何删除不再需要的distfiles
搞定,自言自语吧
remove old distfiles no longer associated with ports?
how to auto clean old distfiles no longer associated with new ports source.
first, let dpb auto generate file /usr/ports/distfiles/history
# /usr/ports/infrastructure/bin/dpb -D HISTORY_ONLY
second, let clean-old-distfiles do it, clean-old-distfiles depends on history log that records obsolete distfiles.
# /usr/ports/infrastructure/bin/clean-old-distfiles
remove old distfiles no longer associated with ports?
how to auto clean old distfiles no longer associated with new ports source.
first, let dpb auto generate file /usr/ports/distfiles/history
# /usr/ports/infrastructure/bin/dpb -D HISTORY_ONLY
second, let clean-old-distfiles do it, clean-old-distfiles depends on history log that records obsolete distfiles.
# /usr/ports/infrastructure/bin/clean-old-distfiles
在线用户
正浏览此版面之用户: 没有注册用户 和 0 访客