[debian-edu-commits] debian-edu/slbackup.git (#35) - wheezy-proposed-updates (branch) updated: debian/0.0.12-5-2-g2534653

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


The branch, wheezy-proposed-updates has been updated
       via  2534653f9a7d41b5e13122ed868ee4f366f5088c (commit)
      from  0271e7718734b5e5eec40901613315532bc2181b (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 -----------------------------------------------------------------
commit 2534653f9a7d41b5e13122ed868ee4f366f5088c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Oct 8 14:02:58 2013 +0200

    Revert "Explicitly remove /etc/cron.daily/slbackup in postinst script."
    
    This reverts commit db8c16a8e33e70257753bcdeb0b5a1ab50b2f2fb.

-----------------------------------------------------------------------

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

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 41ccc82..800e4a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,7 +31,6 @@ slbackup (0.0.12-4) experimental; urgency=low
   * Change in conffile management:
     + 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.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Fri, 27 Jul 2012 10:24:56 +0200
 
diff --git a/debian/postinst b/debian/postinst
index aa2224d..eb3d260 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -14,6 +14,7 @@ use File::Path qw(make_path);
 ## subsections
 sub writeconfig {
     my ($datafilename, $data) = @_;
+    
 }
 
 ## start postinst
@@ -84,11 +85,6 @@ 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