[packages] vnstat: rework package, get rid of download stuff (this is better done...
[openwrt/svn-archive/archive.git] / net / vnstat / patches / 003-no_install_uname.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -22,12 +22,6 @@ clean:
4 install:
5 @echo "Installing vnStat..."
6
7 -# check that system is really Linux
8 - @if [ `uname` != "Linux" ]; \
9 - then echo "This isn't a Linux system. Maybe 'make bsdinstall' is what you need?"; \
10 - false; \
11 - fi
12 -
13 # check that there's something to install
14 @if [ ! -f "src/vnstat" ] || [ ! -f "src/vnstatd" ]; \
15 then echo "Nothing to install, run make first."; \