aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-13 11:23:44 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-11-15 10:16:22 +0000
commit580b246ae589e4b6011f6149e4680b1fa08497f4 (patch)
treeb45a0d5b85ce82c9e0cc0574a5677efe5acd0994 /pbuilder-updatebuildenv
parent7222b9fadd6be6aa3c50b1aceab2acf9a8ff40b5 (diff)
downloadpbuilder-580b246ae589e4b6011f6149e4680b1fa08497f4.tar
pbuilder-580b246ae589e4b6011f6149e4680b1fa08497f4.tar.gz
use log.i() instead of log()
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv12
1 files changed, 6 insertions, 6 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index f0441eb..d370f8f 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -21,7 +21,7 @@ set -e
. "${BASH_SOURCE%/*}/pbuilder-checkparams"
if [ -n "$DISTRIBUTION" ] && [ "$OVERRIDE_APTLINES" = "yes" ]; then
- log "I: Upgrading for distribution $DISTRIBUTION"
+ log.i "Upgrading for distribution $DISTRIBUTION"
fi
if [ "${PBUILDER_DEBUGMODE}" = "yes" ]; then
TRAP="echo ignoring trap "
@@ -35,8 +35,8 @@ echobacktime
extractbuildplace
$TRAP umountproc_cleanbuildplace_trap exit sighup
-log "I: Refreshing the base.tgz "
-log "I: upgrading packages"
+log.i "Refreshing the base.tgz "
+log.i "upgrading packages"
$CHROOTEXEC /usr/bin/apt-get -q "${APTGETOPT[@]}" update
@@ -74,7 +74,7 @@ recover_aptcache
$TRAP saveaptcache_umountproc_cleanbuildplace_trap exit sighup
if [ "$DEBDELTA" = "yes" ]; then
if $CHROOTEXEC hash debdelta-upgrade 2> /dev/null ; then
- log "I: Using debdelta-upgrade for available deltas"
+ log.i "Using debdelta-upgrade for available deltas"
if $CHROOTEXEC debdelta-upgrade ; then
:
else
@@ -104,13 +104,13 @@ add_additional_aptkeyrings
# optionally auto-clean apt-cache
if [ "${AUTOCLEANAPTCACHE}" = "yes" -a -n "$APTCACHE" ]; then
- log "I: Cleaning the cached apt archive"
+ log.i "Cleaning the cached apt archive"
$CHROOTEXEC /usr/bin/apt-get autoclean || true
find "$APTCACHE/" -maxdepth 1 -name \*.deb | \
while read A; do
if [ ! -f "$BUILDPLACE/var/cache/apt/archives/$(basename "$A")" -a \
-f "$A" ]; then
- log "I: obsolete cache content "$(basename "$A")" removed"
+ log.i "obsolete cache content "$(basename "$A")" removed"
rm -f "$A" || true
fi
done