Permalink
Browse files

directory designed for adding/removing catalogs from packages introduced

  • Loading branch information...
racke committed Dec 16, 2002
1 parent 28b2c4f commit a350a51a39f109c3482abfb23f7eff042bcaf15c
Showing with 7 additions and 2 deletions.
  1. +4 −1 debian/interchange.cfg
  2. +1 −0 debian/interchange.dirs
  3. +2 −1 debian/interchange.postinst
View
@@ -38,10 +38,13 @@ include /etc/interchange/settings.cfg
#========================================================================#
-# Read catalog definitions from separate file
+# Read catalog definitions from two different locations:
+# - catalogs.cfg is for custom catalogs
+# - catalog.d/*.cfg is for catalogs installed by Debian packages
# Only catalogs listed there are handled by the expiry cron job
include /etc/interchange/catalogs.cfg
+include /var/lib/interchange/catalog.d/*.cfg
#========================================================================#
View
@@ -4,6 +4,7 @@ usr/bin
usr/lib/interchange/etc
usr/sbin
usr/share/man/man1
+var/lib/interchange/catalog.d
var/lib/interchange/catalogs
var/log/interchange
var/run/interchange
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# Copyright 2001 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2001,2002 by Stefan Hornburg (Racke) <racke@linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -57,6 +57,7 @@ fi
# More permissions
chown -R $USER.$GROUP /etc/interchange/usertag
+chown -R $USER.$GROUP /var/lib/interchange/catalog.d
# Record debconf configuration in multiple files
# 1. Stuff needed for the init script

0 comments on commit a350a51

Please sign in to comment.