Skip to content
Snippets Groups Projects
  1. Oct 27, 2014
  2. Oct 25, 2014
  3. Oct 20, 2014
  4. Oct 19, 2014
  5. Oct 15, 2014
    • John Crispin's avatar
      default_postinst() fix wrong call of group_add · 666659fb
      John Crispin authored
      
      [base-files] default_postinst() fix wrong call of group_add
      after 12bae65d07d29854204715cebc1ef1eae237fd9b group_add is
      always called. shell scripting can be tricky...
      
      wrong call:
      [ -n "$gid" ] && group_exists $name || group_add $name $gid
      
      this leads to a call of 'group_add' when $gid is emtpy, proof:
      
      root@box:~ functionA() { echo A; }
      root@box:~ functionB() { echo B; }
      root@box:~ VAR=
      root@box:~ [ -n "$VAR" ] && functionA || functionB
      B
      root@box:~ # functionB was called, but VAR is not filled
      root@box:~ VAR=filled
      root@box:~ [ -n "$VAR" ] && functionA || functionB
      A
      
      Signed-off-by: default avatarBastian Bittorf <bittorf@bluebottle.com>
      
      SVN-Revision: 42926
      666659fb
  6. Oct 14, 2014
  7. Oct 09, 2014
  8. Oct 08, 2014
  9. Oct 06, 2014
  10. Oct 03, 2014
  11. Sep 25, 2014
  12. Sep 16, 2014
  13. Sep 14, 2014
  14. Sep 11, 2014
  15. Aug 25, 2014
  16. Aug 22, 2014
  17. Aug 20, 2014
  18. Aug 19, 2014
  19. Aug 18, 2014
  20. Aug 11, 2014
  21. Aug 07, 2014
  22. Jul 29, 2014
  23. Jul 26, 2014
  24. Jul 14, 2014
  25. Jul 13, 2014
  26. Jul 10, 2014
  27. Jul 03, 2014
  28. Jul 01, 2014
  29. Jun 29, 2014
  30. Jun 27, 2014
  31. Jun 26, 2014
  32. Jun 24, 2014
Loading