Sfoglia il codice sorgente

Add dselect configuration file

Wichert Akkerman 25 anni fa
parent
commit
31de7762f3
5 ha cambiato i file con 18 aggiunte e 0 eliminazioni
  1. 7 0
      ChangeLog
  2. 1 0
      debian/dpkg.conffiles
  3. 7 0
      debian/dselect.cfg
  4. 2 0
      debian/rules
  5. 1 0
      dselect/main.cc

+ 7 - 0
ChangeLog

@@ -1,3 +1,10 @@
+Tue Apr 24 02:13:43 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
+
+  * dselect/main.cc: use myfileopt as well to read dselect.cfg
+  * debian/dselect.cfg: new file
+  * debian/rules: install dselect.cfg
+  * debian/dpkg.conffiles: add dselect.cfg
+
 Tue Apr 24 01:40:11 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
 
   * dselect/pkglist.cc: repair qsort_compareentries

+ 1 - 0
debian/dpkg.conffiles

@@ -1,2 +1,3 @@
 /etc/dpkg/dpkg.cfg
+/etc/dpkg/dselect.cfg
 /etc/dpkg/origins/debian

+ 7 - 0
debian/dselect.cfg

@@ -0,0 +1,7 @@
+# dselect configuration file
+#
+# This file can contain default options for dselect. All commandline
+# options are allowed. Values can be specific by putting them after
+# the option, seperated by whitespace and/or an `=' sign.
+#
+

+ 2 - 0
debian/rules

@@ -113,6 +113,8 @@ binary-dpkg: stamp-binary
 	install -d -m 755 -o root -g root $(TMP_DPKG)/etc/dpkg
 	install -p -m 644 -o root -g root debian/dpkg.cfg \
 		$(TMP_DPKG)/etc/dpkg/
+	install -p -m 644 -o root -g root debian/dselect.cfg \
+		$(TMP_DPKG)/etc/dpkg/
 
 # Now that dpkg has been installed, Debianize it
 # Policy stuff

+ 1 - 0
dselect/main.cc

@@ -325,6 +325,7 @@ int main(int, const char *const *argv) {
   }
   push_error_handler(&ejbuf,print_error_fatal,0);
 
+  myfileopt(CONFIGDIR "/" DSELECT ".cfg", cmdinfos);
   myopt(&argv,cmdinfos);
 
   if (*argv) {