[debian-edu-commits] debian-edu/slbackup.git (#14) - wheezy-proposed-updates (branch) updated: debian/0.0.12-3-11-gdb8c16a

Holger Levsen holger at alioth.debian.org
Tue Oct 8 12:20:02 UTC 2013


The branch, wheezy-proposed-updates has been updated
       via  db8c16a8e33e70257753bcdeb0b5a1ab50b2f2fb (commit)
      from  68faa9a3287e6ecd1f948fa6df0afad218a1057f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog |    1 +
 debian/postinst  |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 94003d9..e825e8a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ slbackup (0.0.12-4) UNRELEASED; urgency=low
   * New maintainer: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>.
   * Drop CRON job /etc/cron.daily/slbackup. Re-enable configuration
     of slbackup via debconf templates (closes: #662914).
+  * Explicitly remove /etc/cron.daily/slbackup in postinst script.
   * Bump Standards:-version to 3.9.3.
   * Translations:
     - Italian, thanks to Beatrice Torracca. (Closes: #666917).
diff --git a/debian/postinst b/debian/postinst
index 96f234c..4b46704 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -13,7 +13,6 @@ use Config::General;
 ## subsections
 sub writeconfig {
     my ($datafilename, $data) = @_;
-    
 }
 
 ## start postinst
@@ -76,6 +75,11 @@ if ($ARGV[0] and $ARGV[0] eq "configure") {
 	print(CRONFILE "$crontab");
 	close(CRONFILE);
     }
+
+    if (system("dpkg --compare-versions \"".$ARGV[1]."\" le \"0.0.12-3\"") == 0) {
+        system("test -f /etc/cron.daily/slbackup && rm /etc/cron.daily/slbackup");
+    }
+
 }
 
 system('


hooks/post-receive
-- 
slbackup.git (Debian package slbackup)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "slbackup.git" (Debian package slbackup).




More information about the debian-edu-commits mailing list