Skip to content
Browse files

workaround for replacing directory by a symlink added

  • Loading branch information...
1 parent c24d55a commit 857b1a4f984ad6d543ce458373e361b021b94bd7 @racke racke committed Jul 28, 2001
Showing with 32 additions and 2 deletions.
  1. +1 −0 MANIFEST
  2. +3 −2 debian/changelog
  3. +28 −0 debian/interchange.preinst
View
1 MANIFEST
@@ -34,6 +34,7 @@ debian/interchange.docs
debian/interchange.files
debian/interchange.init
debian/interchange.logrotate
+debian/interchange.preinst
debian/interchange.postinst
debian/interchange.templates
debian/interchange.wrapper
View
5 debian/changelog
@@ -1,4 +1,4 @@
-interchange (4.7.7-1) unstable; urgency=low
+interchange (4.8.0-1) unstable; urgency=low
* new upstream release (Closes: #102645 due to new build)
* foundation is now the demo catalog instead of construct
@@ -17,8 +17,9 @@ interchange (4.7.7-1) unstable; urgency=low
* use /var/lib/interchange/catalogs as default for catalog installations
* images are now installed to /var/www/interchange
* get rid of .packlist (Closes: #104747)
+ * /usr/lib/interchange/etc is symlink now for makecat's sake
- -- Stefan Hornburg (Racke) <racke@linuxia.de> Thu, 26 Jul 2001 11:41:49 +0200
+ -- Stefan Hornburg (Racke) <racke@linuxia.de> Sat, 28 Jul 2001 18:55:46 +0200
interchange (4.6.5-1) unstable; urgency=high
View
28 debian/interchange.preinst
@@ -0,0 +1,28 @@
+#! /bin/sh
+#
+# Copyright 2001 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with this program; if not, write to the Free
+# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA.
+
+# Older versions have a /usr/lib/interchange/etc directory,
+# which we need to remove in order to place a symlink there
+
+if [ "$1" = "upgrade" ] && dpkg --compare-versions $2 lt 4.8.0-1; then
+ rm -rf /usr/lib/interchange/etc
+fi
+
+#DEBHELPER#
+

0 comments on commit 857b1a4

Please sign in to comment.
Something went wrong with that request. Please try again.