Changeset 4792


Ignore:
Timestamp:
01/26/11 00:44:13 (9 years ago)
Author:
kent1
Message:

ldconfig après l'installation de programmes

On change les droits apache pour centos => apache:apache

Location:
MediaSPIP/scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • MediaSPIP/scripts/distribs/centos_5_3_dev.sh

    r4790 r4792  
    5858                make -j $NO_OF_CPUCORES 2>> $LOG >> $LOG || return 1
    5959                make install 2>> $LOG >> $LOG || return 1
     60                ldconfig
    6061                #checkinstall --pkgname=rtmpdump --pkgversion "2.3.svn$REVISION+mediaspip" --backup=no --type=rpm --default 2>> $LOG >> $LOG || return 1
    6162                echo $(eval_gettext "End rtmpdump")
  • MediaSPIP/scripts/distribs/centos_5_3_stable.sh

    r4785 r4792  
    5959                echo $(eval_gettext "Info compilation install")
    6060                make install 2>> $LOG >> $LOG || return 1
     61                ldconfig
    6162                #checkinstall --pkgname=rtmpdump --pkgversion "$VERSION+mediaspip" --type=rpm --backup=no --default 2>> $LOG >> $LOG || return 1
    6263                echo $(eval_gettext "End rtmpdump")
  • MediaSPIP/scripts/mediaspip_install.sh

    r4785 r4792  
    165165SPIP_TYPE="ferme_full"
    166166SPIP_SVN="svn://trac.rezo.net/spip/branches/spip-2.1"
    167 SPIP_USER="www-data"
    168 SPIP_GROUP="www-data"
     167
     168if [ "$DISTRIB" = "centos" ];then
     169        SPIP_USER="apache"
     170        SPIP_GROUP="apache"
     171else
     172        SPIP_USER="www-data"
     173        SPIP_GROUP="www-data"
     174fi
     175
    169176SPIP_TYPES=(ferme_full ferme minimal full none)
    170177
  • MediaSPIP/scripts/mediaspip_spip_installation.sh

    r4764 r4792  
    306306        echo
    307307        echo $(eval_gettext 'Info SPIP changement droits $SPIP_USER $SPIP_GROUP')
    308         chown -Rvf $SPIP_USER:$SPIP_GROUP $SPIP 2>> $LOG >> /dev/null &
    309         wait $!
     308        chown -Rvf $SPIP_USER:$SPIP_GROUP $SPIP 2>> $LOG >> /dev/null || return 1
    310309       
    311310        echo
Note: See TracChangeset for help on using the changeset viewer.