[interchange/DEB_5_8_1] Relocate images for standard catalog to /usr/share/interchange/standard/images.

Stefan Hornburg <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit 1fb2eac4c6930853f898a5c105dc14dafc35f75d
Author: Stefan Hornburg (Racke) <[email protected]>
Date:   Fri Mar 14 00:17:20 2014 +0100

    Relocate images for standard catalog to /usr/share/interchange/standard/images.

 debian/interchange-cat-standard.install |    1 +
 debian/rules                            |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/debian/interchange-cat-standard.install b/debian/interchange-cat-standard.install
index 97f8886..4d8d2d8 100644
--- a/debian/interchange-cat-standard.install
+++ b/debian/interchange-cat-standard.install
@@ -1,2 +1,3 @@
+usr/share/interchange/standard
 usr/lib/interchange/standard
 usr/lib/interchange/usertag/standard
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 5cdce8a..649af75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -116,6 +116,10 @@ install: build
 # install logrotate configuration file
 	install -m 0755 -d $(TMP)/etc/logrotate.d/
 	install -m 0644 debian/interchange.logrotate $(TMP)/etc/logrotate.d/interchange
+# move image files for standard demo
+	mkdir -p $(TMP)/usr/share/interchange/standard
+	mv $(TMP)/usr/lib/interchange/standard/images $(TMP)/usr/share/interchange/standard
+	cd $(TMP)/usr/lib/interchange/standard; ln -s ../../../share/interchange/standard/images .
 # install global usertags for standard demo
 	mkdir -p $(TMP)/usr/lib/interchange/usertag/standard
 	install -m 0644 dist/standard/config/*.tag $(TMP)/usr/lib/interchange/usertag/standard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.