Subversion Repositories vgwhois

Rev

Rev 5 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #!/bin/bash
  2.  
  3. #
  4. #  VGWhoIs (ViaThinkSoft Global WhoIs, a fork of generic Whois / gwhois)
  5. #  Installer / Uninstaller
  6. #
  7. #  (c) 2019 by Daniel Marschall, ViaThinkSoft <info@daniel-marschall.de>
  8. #
  9. #  License: https://www.gnu.org/licenses/gpl-2.0.html (GPL version 2)
  10. #
  11.  
  12. DIR=$( dirname $(realpath "$0" ) )
  13.  
  14. cd "$DIR"
  15.  
  16. if [ ! -d ".svn" ]; then
  17.         echo "$DIR was not checked out via SVN. Please update manually."
  18.         exit 1
  19. fi
  20.  
  21. # TODO: check if svn is installed?
  22. svn update
  23.  
  24.