[28372] in Source-Commits

home help back first fref pref prev next nref lref last post

cluster-login-config commit: Use correct syntax in maintscript file

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Aug 5 15:47:19 2014

Date: Tue, 5 Aug 2014 15:47:12 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201408051947.s75JlCIQ024992@drugstore.mit.edu>
To: source-commits@MIT.EDU

https://github.com/mit-athena/cluster-login-config/commit/2a466cf690d38b767d10fac4a7966174b6cd182f
commit 2a466cf690d38b767d10fac4a7966174b6cd182f
Author: Jonathan Reed <jdreed@mit.edu>
Date:   Tue Aug 5 15:43:54 2014 -0400

    Use correct syntax in maintscript file
    
    In a .maintscript file, when blindly copying and pasting
    dpkg-maintscript-helper invocations from maintscripts, be
    sure and remove the '-- $@', otherwise hilarity ensues.

 debian/changelog                                  |    6 ++++++
 debian/debathena-cluster-login-config.maintscript |   12 ++++++------
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6da7e0f..56d2949 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debathena-cluster-login-config (1.44.1) unstable; urgency=low
+
+  * Use correct syntax in .mainstcript file
+
+ -- Jonathan Reed <jdreed@mit.edu>  Tue, 05 Aug 2014 15:43:44 -0400
+
 debathena-cluster-login-config (1.44) unstable; urgency=low
 
   * Work around upstream bugs by redefining recordfail() to do nothing in
diff --git a/debian/debathena-cluster-login-config.maintscript b/debian/debathena-cluster-login-config.maintscript
index 748af9d..6b743dd 100644
--- a/debian/debathena-cluster-login-config.maintscript
+++ b/debian/debathena-cluster-login-config.maintscript
@@ -1,9 +1,9 @@
 # We moved this to a single file in /var/lib/polkit-1
-rm_conffile /etc/polkit-1/localauthority/30-site.d/disable-hibernate.pkla 1.41 -- "$@"
-rm_conffile /etc/polkit-1/localauthority/30-site.d/disable-suspend.pkla 1.41 -- "$@"
+rm_conffile /etc/polkit-1/localauthority/30-site.d/disable-hibernate.pkla 1.41
+rm_conffile /etc/polkit-1/localauthority/30-site.d/disable-suspend.pkla 1.41
 # We used to divert the upstart jobs themseves
-rm_conffile /etc/event.d/ttymsg 1.23 -- "$@"
-rm_conffile /etc/init/ttymsg.conf 1.23 -- "$@"
+rm_conffile /etc/event.d/ttymsg 1.23
+rm_conffile /etc/init/ttymsg.conf 1.23
 # We briefly enabled backports for libstdc++
-rm_conffile /etc/apt/sources.list.d/debathena-backports.list 1.36 -- "$@"
-rm_conffile /etc/apt/preferences.d/debathena-libstdcplusplus.pref 1.36 -- "$@"
+rm_conffile /etc/apt/sources.list.d/debathena-backports.list 1.36
+rm_conffile /etc/apt/preferences.d/debathena-libstdcplusplus.pref 1.36

home help back first fref pref prev next nref lref last post