packages/net/vnstat/patches/003-no_install_uname.patch
Jo-Philipp Wich 906611d5e3 vnstat: update to upstream 1.12 release
Deferring privilege dropping for now until the OpenWrt api is stable.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-09-18 17:35:29 +02:00

15 lines
425 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -33,12 +33,6 @@ debug:
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."; \