[Distr-commits] r923 - pkg/utils
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Sep 13 13:37:32 CEST 2013
Author: kroisand
Date: 2013-09-13 13:37:32 +0200 (Fri, 13 Sep 2013)
New Revision: 923
Modified:
pkg/utils/Rpkgcheck.sh
Log:
the checkscript was changed again, because a warning in the checks also gives that the library is not installed again
Modified: pkg/utils/Rpkgcheck.sh
===================================================================
--- pkg/utils/Rpkgcheck.sh 2013-09-13 09:58:41 UTC (rev 922)
+++ pkg/utils/Rpkgcheck.sh 2013-09-13 11:37:32 UTC (rev 923)
@@ -26,17 +26,13 @@
echo check as cran $tarGz
echo ---------------------------------------------
$1 CMD check --as-cran --timings $tarGz
-result=$?
#
echo ---------------------------------------------
-echo we test that the check of $2 was successful
-echo i.e. whether the value of check,
-echo which is $result, is 0
+echo we test that the .tar.gz file of $2 exists
echo before removing the old version
echo and installing the new version
echo ---------------------------------------------
-zero=0
-if [ $result -eq $zero ]; then
+if [ -r $tarGz ]; then
#
echo ---------------------------------------------
echo REMOVE $2
More information about the Distr-commits
mailing list