From f4a67780df5ba4dbe800589e1d5229ef78b3a71c Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Sat, 20 Nov 2010 13:30:42 +0000 Subject: [PATCH] Import Debian version 0.8 apt-update (0.8) stable; urgency=low * Don't use echo -e; printf is better. --- apt-update | 2 +- debian/changelog | 6 ++++++ debian/debhelper.log | 11 +++++++++++ debian/tmp/DEBIAN/md5sums | 2 +- debian/tmp/etc/cron.daily/apt-update | 2 +- debian/tmp/usr/sbin/apt-update | 2 +- 6 files changed, 21 insertions(+), 4 deletions(-) diff --git a/apt-update b/apt-update index b792970..616cfba 100755 --- a/apt-update +++ b/apt-update @@ -69,6 +69,6 @@ if [ "$UPDATE_LIST"x != ""x ] ; then UPDATE_LIST="$UPDATE_LIST\n\nPackage(s) downloaded and ready to install\n" fi - echo -e "$UPDATE_LIST" + printf "$UPDATE_LIST\n" fi diff --git a/debian/changelog b/debian/changelog index dedc1e9..1846f64 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +apt-update (0.8) stable; urgency=low + + * Don't use echo -e; printf is better. + + -- Steve McIntyre Sat, 20 Nov 2010 13:30:42 +0000 + apt-update (0.7) stable; urgency=low * Add a new script apt-update, factoring out most of the cron job diff --git a/debian/debhelper.log b/debian/debhelper.log index 4a9a299..d8f8b9e 100644 --- a/debian/debhelper.log +++ b/debian/debhelper.log @@ -9,3 +9,14 @@ dh_installdeb dh_fixperms dh_md5sums dh_builddeb +dh_installdirs +dh_installdocs +dh_installchangelogs +dh_movefiles +dh_strip +dh_compress +dh_gencontrol +dh_installdeb +dh_fixperms +dh_md5sums +dh_builddeb diff --git a/debian/tmp/DEBIAN/md5sums b/debian/tmp/DEBIAN/md5sums index 12dc5e2..70941ef 100644 --- a/debian/tmp/DEBIAN/md5sums +++ b/debian/tmp/DEBIAN/md5sums @@ -1,4 +1,4 @@ bcccc3c8bc288beafafd9e3ace48066c usr/share/doc/apt-update/changelog.gz ecba137529ebdecd0e9196e88a6ba3aa usr/share/doc/apt-update/copyright d890efb3264a5a274185afaac973e251 usr/sbin/apt-dist-upgrade -54760478bb495fa2b1c91e375dc4e263 usr/sbin/apt-update +860a1e1907346e3f5ef8537c5fda6ef5 usr/sbin/apt-update diff --git a/debian/tmp/etc/cron.daily/apt-update b/debian/tmp/etc/cron.daily/apt-update index dbf99a0..992f660 100755 --- a/debian/tmp/etc/cron.daily/apt-update +++ b/debian/tmp/etc/cron.daily/apt-update @@ -21,5 +21,5 @@ HOST=`uname -n` if [ "$UPDATE_LIST"x != ""x ] ; then # Now send mail to the local admin UPDATE_LIST="On $HOST the following packages need upgrading:\n$UPDATE_LIST" - echo -e $UPDATE_LIST | mail -s "$HOST needs software updates" $MAILTO + echo -e "$UPDATE_LIST" | mail -s "$HOST needs software updates" $MAILTO fi diff --git a/debian/tmp/usr/sbin/apt-update b/debian/tmp/usr/sbin/apt-update index 1d32863..b792970 100755 --- a/debian/tmp/usr/sbin/apt-update +++ b/debian/tmp/usr/sbin/apt-update @@ -69,6 +69,6 @@ if [ "$UPDATE_LIST"x != ""x ] ; then UPDATE_LIST="$UPDATE_LIST\n\nPackage(s) downloaded and ready to install\n" fi - echo -e $UPDATE_LIST + echo -e "$UPDATE_LIST" fi -- 2.20.1