Subversion Repositories DevTools

Rev

Rev 5212 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5212 Rev 6058
Line 1... Line 1...
1
#!  /bin/bash
1
#!  /bin/bash
2
#
2
#
3
#   Post Install file for lxr-manager
3
#   Post Install file for lxr-manager
4
#   Fisrt time install - setup the config file
4
#   First time install - setup the config file
5
#   
5
#   
6
#
6
#
7
LXRSCRIPTDIR=/opt/lxr-scripts
7
LXRSCRIPTDIR=/opt/lxr-scripts
8
if [ ! -f ${LXRSCRIPTDIR}/jats_lxr.conf ] ; then
8
if [ ! -f ${LXRSCRIPTDIR}/jats_lxr.conf ] ; then
9
    mv ${LXRSCRIPTDIR}/jats_lxr.conf.new ${LXRSCRIPTDIR}/jats_lxr.conf
9
    mv ${LXRSCRIPTDIR}/jats_lxr.conf.new ${LXRSCRIPTDIR}/jats_lxr.conf
10
else
10
else
11
    
11
    
12
    if ! diff ${LXRSCRIPTDIR}/jats_lxr.conf.new ${LXRSCRIPTDIR}/jats_lxr.conf > /dev/null ; then
12
    if ! diff ${LXRSCRIPTDIR}/jats_lxr.conf.new ${LXRSCRIPTDIR}/jats_lxr.conf > /dev/null ; then
13
        echo "lxr-manager. New configuration in: ${LXRSCRIPTDIR}/jats_lxr.conf.new"
13
        echo "lxr-manager. New configuration in: ${LXRSCRIPTDIR}/jats_lxr.conf.new"
14
    fi    
14
    fi    
15
fi     
15
fi
-
 
16
#
-
 
17
#
-
 
18
echo "To enable group level access control"
-
 
19
echo "    Edit/Configure '/etc/apache2/sites-available/lxr-auth-ldap.conf'"
-
 
20
echo "    Enable with 'a2ensite lxr-auth-ldap'"