From 9429d5ab2c98d17d87c0d9214bc41b37f9419901 Mon Sep 17 00:00:00 2001 From: "Thomas Bushnell, BSG" Date: Sat, 29 Dec 2007 10:18:27 -0800 Subject: Import Debian changes 3a5-2 slib (3a5-2) unstable; urgency=low * debian/rules (binary-indep): init subdir symlink should point to ".", not "..". (Closes: #458172). * debian/preinst: New file. Delete /usr/share/slib/init if it's a directory. * debian/rules (binary-indep): Install preinst into the right place. (Closes: #458181). * guile.init: Use old method of finding implementation-vicinity. --- debian/preinst | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 debian/preinst (limited to 'debian/preinst') diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..0c06b42 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +# Older versions of slib stored init files in a separate subdirectory; +# blow that away so that the symlink can be put in its place. +if [ "$1" = "upgrade" -a -d /usr/share/slib/init ]; then + rm -rf /usr/share/slib/init +fi -- cgit v1.2.3