[Cdd-commits] r479 - cdd/trunk/cdd/devtools projects/med/trunk/debian-med/config

CDD Subversion Commit noreply at alioth.debian.org
Fri Oct 19 10:54:41 UTC 2007


Author: tille
Date: Fri Oct 19 10:54:41 2007
New Revision: 479

Added:
   projects/med/trunk/debian-med/config/config
      - copied unchanged from r477, projects/med/trunk/debian-med/config/common
Removed:
   projects/med/trunk/debian-med/config/common
Modified:
   cdd/trunk/cdd/devtools/cdd-install-helper
Log:
Make the common config renaming consistent in med and cdd-dev


Modified: cdd/trunk/cdd/devtools/cdd-install-helper
==============================================================================
--- cdd/trunk/cdd/devtools/cdd-install-helper	(original)
+++ cdd/trunk/cdd/devtools/cdd-install-helper	Fri Oct 19 10:54:41 2007
@@ -72,23 +72,23 @@
        /usr/share/cdd/templates/postrm >> debian/"$cdd"-"$pkg".postrm
 done
 
-# if config/common exists use this as general helper script
-if [ -s config/common ] ; then
+# if config/config exists use this as general helper script
+if [ -s config/config ] ; then
   mkdir -p debian/"$cdd"-config/usr/bin
   mkdir -p debian/"$cdd"-config/usr/share/man/man1
-  cp -a config/common   debian/"$cdd"-config/usr/bin/"$cdd"-common
-  cp -a config/common.1 debian/"$cdd"-config/usr/share/man/man1/"$cdd"-common.1
+  cp -a config/config   debian/"$cdd"-config/usr/bin/"$cdd"-config
+  cp -a config/config.1 debian/"$cdd"-config/usr/share/man/man1/"$cdd"-config.1
 
   # install link to package helper script
   for pkg in `ls tasks` ; do
     mkdir -p debian/"$cdd"-"$pkg"/usr/bin
     mkdir -p debian/"$cdd"-"$pkg"/usr/share/man/man1
-    ln -s "$cdd"-common debian/"$cdd"-"$pkg"/usr/bin/"$cdd"-"$pkg"
-    ln -s "$cdd"-common.1.gz debian/"$cdd"-"$pkg"/usr/share/man/man1/"$cdd"-"$pkg".1.gz
+    ln -s "$cdd"-config debian/"$cdd"-"$pkg"/usr/bin/"$cdd"-"$pkg"
+    ln -s "$cdd"-config.1.gz debian/"$cdd"-"$pkg"/usr/share/man/man1/"$cdd"-"$pkg".1.gz
   done
 fi
 
-# common/conf should really exist for the CDD registry in /etc/cdd
+# config/conf should really exist for the CDD registry in /etc/cdd
 # currently there is no error message issued if it is missing but
 # this might be reasonable
 if [ -s config/conf ] ; then



More information about the Cdd-commits mailing list