Fix templates
This commit is contained in:
parent
f6f8b115b0
commit
ef19c772cf
|
@ -3,12 +3,9 @@
|
||||||
use esmith::AccountsDB;
|
use esmith::AccountsDB;
|
||||||
my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n";
|
my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n";
|
||||||
|
|
||||||
my @ibays = $a->ibays();
|
@ibays = $a->ibays();
|
||||||
my @shares = $a->get_all_by_prop(type=>'share');
|
@shares = $a->get_all_by_prop(type=>'share');
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
$OUT .= '';
|
$OUT .= '';
|
||||||
|
|
||||||
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,9 +6,5 @@ foreach my $share (@shares){
|
||||||
next unless ($av eq 'enabled');
|
next unless ($av eq 'enabled');
|
||||||
$OUT .= "/home/e-smith/files/shares/$name/files\n";
|
$OUT .= "/home/e-smith/files/shares/$name/files\n";
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
$OUT .= '';
|
$OUT .= '';
|
||||||
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,9 +6,5 @@ foreach my $ibay (@ibays){
|
||||||
next unless ($av eq 'enabled');
|
next unless ($av eq 'enabled');
|
||||||
$OUT .= "/home/e-smith/files/ibays/$name\n";
|
$OUT .= "/home/e-smith/files/ibays/$name\n";
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
$OUT .= '';
|
$OUT .= '';
|
||||||
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
# Just a dummy rep so there's always a rep to watch
|
# Just a dummy rep so there's always a rep to watch
|
||||||
}
|
}
|
||||||
/home/e-smith/files/samba/netlogon
|
/var/lib/clamrt
|
|
@ -2,14 +2,10 @@
|
||||||
# Name: Daniel B.
|
# Name: Daniel B.
|
||||||
|
|
||||||
Summary: On access AV scanner
|
Summary: On access AV scanner
|
||||||
<<<<<<< HEAD
|
|
||||||
%define name smeserver-webapps-common
|
|
||||||
=======
|
|
||||||
%define name smeserver-clamrt
|
%define name smeserver-clamrt
|
||||||
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
|
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 0.0.1
|
%define version 0.0.1
|
||||||
%define release 1.beta0
|
%define release 1.beta3
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
|
@ -35,7 +31,7 @@ Provides on access AV scan for shares and ibays
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl createlinks
|
perl createlinks
|
||||||
%{__mkdir_p} root/var/log/clamrt
|
%{__mkdir_p} root/var/{log,lib}/clamrt
|
||||||
|
|
||||||
%install
|
%install
|
||||||
/bin/rm -rf $RPM_BUILD_ROOT
|
/bin/rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
Loading…
Reference in New Issue