Logging improved

This commit is contained in:
Juan 2018-08-29 17:25:01 +02:00
parent 49671fab5a
commit 64c93be6e9
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ if [ -f "$srcDir/debian/changelog" ]; then
echo -e "\n# Building Debian packages\n"
(cd "$srcDir" && debuild -uc -us -b)
echo -e "\n# Adding packages to repository\n"
echo -e "\n# Adding packages to repository"
cut -d" " -f1 "$srcDir/debian/files" |
while read debFile; do
@ -36,7 +36,7 @@ if [ -f "$srcDir/debian/changelog" ]; then
continue
fi
echo " * Adding $debFile"
echo "\n * Adding $debFile\n"
reprepro -b "$repreproDir" includedeb $codename "$buildDir/$debFile"
done
else

View File

@ -22,9 +22,9 @@ fi
# FIXME: Packages are not upgraded when config files are changed
echo -e "\n# Upgrading servers\n"
echo -e "\n# Upgrading servers"
for host in $hosts; do
echo " * Upgrading $host"
echo "\n * Upgrading $host\n"
ssh $host "update-repo vn && DEBIAN_FRONTEND=noninteractive apt-get --quiet --yes install $packages"
done