After setting up the bank and vault, the HOWTO says I need to initialize
the backups. The script is failing at line 4.
[r...@salmo ~]# dirvish --vault salmo.appl-ecosys.com --init
/usr/local/sbin/dirvish: line 4: syntax error near unexpected token ('
/usr/local/sbin/dirvish: line 4: $VERSION = ('$Name: Dirvish-1_2_1 $' =~
/Dirvish/i)'
Here are the first 7 lines of /usr/local/sbin/dirvish:
# $Id: dirvish.pl,v 12.0 2004/02/25 02:42:15 jw Exp $ $Name: Dirvish-1_
$VERSION = ('$Name: Dirvish-1_2_1 $' =~ /Dirvish/i)
? ('$Name: Dirvish-1_2_1 $' =~ m/^.*:\s+dirvish-(.*)\s*\$$/i)[0]
: '1.1.2 patch' . ('$Id: dirvish.pl,v 12.0 2004/02/25 02:42:15 jw
Exp
=~ m/^.*,v(.*:\d\d)\s.*$/)[0];
$VERSION =~ s/_/./g;
I appreciate one of you with a working script telling me how to fix that
line so it works.
TIA,
Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug