Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

directory designed for adding/removing catalogs from packages introduced

  • Loading branch information...
commit a350a51a39f109c3482abfb23f7eff042bcaf15c 1 parent 28b2c4f
@racke racke authored
View
5 debian/interchange.cfg
@@ -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
1  debian/interchange.dirs
@@ -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
View
3  debian/interchange.postinst
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.