Changeset 29559

Show
Ignore:
Timestamp:
08.12.2014 15:42:16 (4 years ago)
Author:
jts21
Message:

Fedora works. Also updated demo package to set its files to be owned by tomcat too.

Location:
main/trunk/package-kits/linux
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/package-kits/linux/distros/fedora

    r29546 r29559  
    99TOMCATLIB:              /usr/share/tomcat/lib 
    1010TOMCATCONF:             /etc/tomcat/Catalina/localhost 
    11 TOMCAT_USER:            tomcat7 
     11TOMCAT_USER:            tomcat 
    1212GSTOOLS:                @GREENSTONE_HOME@/tools 
    1313GLI:                    @GREENSTONE_HOME@/gli 
  • main/trunk/package-kits/linux/packages/demo

    r29546 r29559  
    3333    clean 
    3434    demo 
     35 
     36POST_INSTALL: 
     37    chown -R @TOMCAT_USER@:@TOMCAT_USER@ @WEB@/sites/localsite/collect 
  • main/trunk/package-kits/linux/perllib/Greenstone/Package/_rpm.pm

    r29546 r29559  
    1010    my $array = shift; 
    1111    return join ", ", @{$array}; 
     12} 
     13 
     14sub replacement { 
     15    my ($self, $var) = @_; 
     16    if ($var eq 'FILES') { 
     17        return join "\n", @{$self->{config}->{$var}}; 
     18    } 
     19    return $self->SUPER::replacement ($var); 
    1220} 
    1321 
  • main/trunk/package-kits/linux/segments/rpm

    r29526 r29559  
    11pkg: package 
    22package: 
     3    rm -rf ~/rpmbuild/SOURCES/@NAME@ 
    34    mkdir -p ~/rpmbuild/SPECS ~/rpmbuild/SOURCES/@NAME@ 
    45    cp @NAME@.spec ~/rpmbuild/SPECS