packages/net/vnstat/patches/003-no_install_uname.patch
Jo-Philipp Wich 177bfef1c7 vnstat: import from packages, add myself as maintainer
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-11 16:47:32 +02:00

15 lines
425 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -22,12 +22,6 @@ clean:
install:
@echo "Installing vnStat..."
-# check that system is really Linux
- @if [ `uname` != "Linux" ]; \
- then echo "This isn't a Linux system. Maybe 'make bsdinstall' is what you need?"; \
- false; \
- fi
-
# check that there's something to install
@if [ ! -f "src/vnstat" ] || [ ! -f "src/vnstatd" ]; \
then echo "Nothing to install, run make first."; \