Subversion Repositories vgwhois

Rev

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

Rev Author Line No. Line
4 daniel-mar 1
#!/bin/bash
2
 
5 daniel-mar 3
#
11 daniel-mar 4
#  VGWhoIs (ViaThinkSoft Global WhoIs, a fork of generic Whois / gwhois)
5 daniel-mar 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
 
4 daniel-mar 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
 
5 daniel-mar 21
# TODO: check if svn is installed?
4 daniel-mar 22
svn update
23