003-no_install_uname.patch 425 B

123456789101112131415
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -33,12 +33,6 @@ debug:
  4. install:
  5. @echo "Installing vnStat..."
  6. -# check that system is really Linux
  7. - @if [ `uname` != "Linux" ]; \
  8. - then echo "This isn't a Linux system. Maybe 'make bsdinstall' is what you need?"; \
  9. - false; \
  10. - fi
  11. -
  12. # check that there's something to install
  13. @if [ ! -f "src/vnstat" ] || [ ! -f "src/vnstatd" ]; \
  14. then echo "Nothing to install, run make first."; \