Skip to content

Commit

Permalink
workaround for replacing directory by a symlink added
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Jul 28, 2001
1 parent c24d55a commit 857b1a4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions 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
Expand All @@ -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

Expand Down
28 changes: 28 additions & 0 deletions 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.