Fix templates

This commit is contained in:
Daniel Berteaud 2012-07-03 22:12:11 +02:00
parent f6f8b115b0
commit ef19c772cf
5 changed files with 5 additions and 20 deletions

View File

@ -3,12 +3,9 @@
use esmith::AccountsDB;
my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n";
my @ibays = $a->ibays();
my @shares = $a->get_all_by_prop(type=>'share');
@ibays = $a->ibays();
@shares = $a->get_all_by_prop(type=>'share');
<<<<<<< HEAD
=======
$OUT .= '';
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
}

View File

@ -6,9 +6,5 @@ foreach my $share (@shares){
next unless ($av eq 'enabled');
$OUT .= "/home/e-smith/files/shares/$name/files\n";
}
<<<<<<< HEAD
=======
$OUT .= '';
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
}

View File

@ -6,9 +6,5 @@ foreach my $ibay (@ibays){
next unless ($av eq 'enabled');
$OUT .= "/home/e-smith/files/ibays/$name\n";
}
<<<<<<< HEAD
=======
$OUT .= '';
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
}

View File

@ -1,4 +1,4 @@
{
# Just a dummy rep so there's always a rep to watch
}
/home/e-smith/files/samba/netlogon
/var/lib/clamrt

View File

@ -2,14 +2,10 @@
# Name: Daniel B.
Summary: On access AV scanner
<<<<<<< HEAD
%define name smeserver-webapps-common
=======
%define name smeserver-clamrt
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
Name: %{name}
%define version 0.0.1
%define release 1.beta0
%define release 1.beta3
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@ -35,7 +31,7 @@ Provides on access AV scan for shares and ibays
%build
perl createlinks
%{__mkdir_p} root/var/log/clamrt
%{__mkdir_p} root/var/{log,lib}/clamrt
%install
/bin/rm -rf $RPM_BUILD_ROOT