Last change
on this file since 13373 was 12913, checked in by rick, 10 years ago |
In the process of finding out why Huubs' build does fail every time, while other builds goes well, start a cleanup script which aims to weed out everything which is rogue and un-used.
|
-
Property svn:executable
set to
*
|
File size:
525 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | echo "# Clean portstree to the bottom"
|
---|
4 |
|
---|
5 | echo "## Weed out old ports tree"
|
---|
6 | svn st /usr/ports | awk '{print $2}' | sed 's+/work++' | xargs -n1 make clean -C
|
---|
7 |
|
---|
8 | echo "## Delete some custom curft (could also be seperate path I guess)"
|
---|
9 | rm -vR /usr/ports/dns/maradns2 /usr/ports/net/lvrouted /usr/ports/net/tproxy /usr/ports/net/transproxy
|
---|
10 |
|
---|
11 | echo "## Make sure no files are shown anymore"
|
---|
12 | svn st /usr/ports
|
---|
13 |
|
---|
14 | echo "## Clean port options"
|
---|
15 | rm -Rvf /var/db/ports/*
|
---|
16 |
|
---|
17 | echo "# Delete all old packages"
|
---|
18 | rm -Rvf /root/nanobsd/pkg/*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.