svn admin files are R/O => had to be excluded from any 'cp -R'
This commit is contained in:
tomash 2005-09-09 14:11:13 +00:00
parent 26eddacabb
commit e4192a187d
2 changed files with 10 additions and 5 deletions

View file

@ -21,7 +21,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
# #
# Author : $Author: tomas $ # Author : $Author$
# Version : $Revision: 1.10 $ # Version : $Revision: 1.10 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/tools/pear/bin/install.sh,v $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/tools/pear/bin/install.sh,v $
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -173,7 +173,8 @@ do echo -n " "
$pearcmd upgrade $pkgv.tgz >/dev/null && echo -n "upgrading to $pkgv" $pearcmd upgrade $pkgv.tgz >/dev/null && echo -n "upgrading to $pkgv"
#|| echo -n "code: $?" #|| echo -n "code: $?"
) || ( ) || (
$pearcmd install $pkgv.tgz >/dev/null && echo -n "installing $pkgv" || exit 1 # $pearcmd install $pkgv.tgz >/dev/null && echo -n "installing $pkgv" || exit 1
$pearcmd install $pkgv.tgz && echo -n "installing $pkgv" || exit 1
) )
check_pear_module $pkg && echo " OK" || exit 1 check_pear_module $pkg && echo " OK" || exit 1
done done

View file

@ -20,7 +20,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
# #
# Author : $Author: tomas $ # Author : $Author$
# Version : $Revision: 1.4 $ # Version : $Revision: 1.4 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/tools/pear/etc/Makefile.in,v $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/tools/pear/etc/Makefile.in,v $
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -61,8 +61,12 @@ install: copy_files
${INSTALL_DIR}/usr/lib/pear/bin/install.sh -d ${INSTALL_DIR} ${INSTALL_DIR}/usr/lib/pear/bin/install.sh -d ${INSTALL_DIR}
copy_files: copy_files:
${MKDIR} ${INSTALL_DIR}/usr/lib ${MKDIR} ${INSTALL_DIR}/usr/lib/pear/bin
cp -pPR ${BASE_DIR}/../pear ${INSTALL_DIR}/usr/lib ${MKDIR} ${INSTALL_DIR}/usr/lib/pear/etc
${MKDIR} ${INSTALL_DIR}/usr/lib/pear/src
cp -pP ${BASE_DIR}/../pear/bin/install.sh ${INSTALL_DIR}/usr/lib/pear/bin
cp -pP ${BASE_DIR}/../pear/etc/pear.conf.template ${INSTALL_DIR}/usr/lib/pear/etc
cp -pP ${BASE_DIR}/../pear/src/*.tgz ${INSTALL_DIR}/usr/lib/pear/src
clean: clean: