[Cdd-commits] r243 - cdd/trunk/cdd

Andreas Tille debian-custom@lists.debian.org
Sun, 11 Jul 2004 09:53:13 -0600


Author: tille
Date: Sun Jul 11 09:53:13 2004
New Revision: 243

Modified:
   cdd/trunk/cdd/cdd-clean-helper
Log:
Minor fixes.


Modified: cdd/trunk/cdd/cdd-clean-helper
==============================================================================
--- cdd/trunk/cdd/cdd-clean-helper	(original)
+++ cdd/trunk/cdd/cdd-clean-helper	Sun Jul 11 09:53:13 2004
@@ -1,16 +1,19 @@
 #!/bin/sh
 
+cdd=`grep "^Package:" debian/control.stub | sed "s/Package: \+//"`
+
 rm -rf tmp
 rm -f tasks/*~
-[ -d menu ] && rm -f debian/$(cdd)-*.post{inst,rm}
+[ -d menu ] && rm -f debian/"$cdd"-*.post{inst,rm}
 
 # Move back special postinst files provided by the meta package maintainer
 for postinst in `ls debian/*.postinst.stub 2>/dev/null` ; do
     mv "$postinst" debian/`basename "$postinst" .stub`
 done
-rm -f debian/$(cdd)-common.{templates,config,install} debian/90$(cdd)-common
+rm -f debian/"$cdd"-common.{templates,config,install} debian/90"$cdd"-common
 rm -rf debian/po
 
 # Move back special po files provided by the meta package maintainer
 [ -d debian/po.stub ] && mv debian/po.stub debian.po
 
+exit 0